Skip to content

Commit

Permalink
Use "run --rm" instead of exec for tests in README
Browse files Browse the repository at this point in the history
* exec requires a running container, "run --rm" starts a new one and deletes when the job is done
* exec requires the related container to stay healthy, "run --rm" run things on a separate container
  • Loading branch information
ulgens authored and bmispelon committed Jan 23, 2025
1 parent 87cc4de commit 5f9764f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ Running Locally with Docker

4. Run the tests::

docker compose exec web tox
docker compose exec web python -m manage test
docker compose run --rm web tox
docker compose run --rm web python -m manage test

Pre-commit checks
-----------------
Expand Down

0 comments on commit 5f9764f

Please sign in to comment.