Skip to content

Commit c70a4bc

Browse files
authored
Merge branch 'wiremock:master' into fix/make-reset-request-journal-for-v3
2 parents 67be2d2 + 2f3819c commit c70a4bc

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444

4545
- name: Integration Tests
4646
run: |
47-
cd examples/
48-
docker-compose build overview_srv
49-
docker-compose run overview_srv pytest --tb=short
47+
cd examples/intro/
48+
docker compose build overview_srv
49+
docker compose run overview_srv pytest --tb=short

examples/intro/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ to allow us to write solid integration tests that dont involved mockig the code
4242

4343
To run the tests use docker-compose to create the necessary containers.
4444

45-
`docker-compose run overview_srv pytest --tb=short`
45+
`docker compose run overview_srv pytest --tb=short`
4646

4747
## How we use this example code base
4848

examples/intro/docker-compose.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3"
33
services:
44
overview_srv:
55
build:
6-
context: ../
6+
context: ../../
77
dockerfile: examples/intro/Dockerfile
88
ports:
99
- "5001:5001"
@@ -13,17 +13,17 @@ services:
1313
- "host.docker.internal:host-gateway"
1414
volumes:
1515
- /var/run/docker.sock:/var/run/docker.sock
16-
- ..:/app/
16+
- ../../:/app/
1717
- .:/app/example/
1818
command: uvicorn product_mock.overview_service:app --host=0.0.0.0 --port=5001
1919

2020
products_srv:
2121
build:
22-
context: ../
22+
context: ../../
2323
dockerfile: examples/intro/Dockerfile
2424
ports:
2525
- "5002:5002"
2626
volumes:
27-
- ..:/app/
27+
- ../../:/app/
2828
- .:/app/example/
2929
command: uvicorn product_mock.products_service:app --host=0.0.0.0 --port=5002

0 commit comments

Comments
 (0)