File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ jobs:
5454
5555 - name : BDD Integration tests
5656 if : ${{ false }} # disable for now
57- run : docker- compose -f docker-compose.yml -f docker-compose.ci.yml run api behave
57+ run : docker compose -f docker-compose.yml -f docker-compose.ci.yml run api behave
5858
5959 - name : Pytest Integration tests
60- run : docker- compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api pytest --integration
60+ run : docker compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api pytest --integration
6161
6262 test-web :
6363 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 33You can start running:
44
55``` shell
6- docker- compose up
6+ docker compose up
77```
88
99The web app will be served at [ http://localhost ] ( http://localhost )
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ git checkout -b feature/my-new-feature
33335 . Make the changes in the created branch.
34346 . Add and run tests for your changes (we only take pull requests with passing tests).
3535``` shell
36- docker- compose run --rm api pytest
37- docker- compose run --rm web yarn test
36+ docker compose run --rm api pytest
37+ docker compose run --rm web yarn test
3838```
39397 . Add the changed files
4040``` shell
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ You will find unit tests under `src/tests/unit`.
1717<TabItem value =" using-docker " label =" Using docker " >
1818
1919``` shell
20- docker- compose run --rm api pytest
20+ docker compose run --rm api pytest
2121```
2222
2323</TabItem >
@@ -50,7 +50,7 @@ These tests depends on mongodb and that it's running.
5050<TabItem value =" using-docker " label =" Using docker " >
5151
5252``` shell
53- docker- compose run --rm web yarn test
53+ docker compose run --rm web yarn test
5454```
5555
5656</TabItem >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Remember to restart!
77
88Any changes you make to these files will only come into effect after you restart the
99server. If you run the application using containers,
10- you need to do ` docker- compose build ` and then ` docker- compose up ` to get the changes.
10+ you need to do ` docker compose build ` and then ` docker compose up ` to get the changes.
1111
1212:::
1313
You can’t perform that action at this time.
0 commit comments