File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4242 uses : actions/checkout@v4
4343 - name : " Run unit test suite"
4444 run : |
45+ cp .env.example .env
4546 make test-unit
4647 - name : " Save the result of fast test suite"
4748 run : |
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ dev-shell:
1919 docker-compose run web sh
2020
2121dev-migrate :
22- docker-compose run web python manage.py migrate
22+ docker-compose run --rm web python manage.py migrate
2323
2424dev-makemigrations :
25- docker-compose run web python manage.py makemigrations
25+ docker-compose run --rm web python manage.py makemigrations
2626
2727dev-clean :
2828 docker-compose down -v --remove-orphans
2929 docker system prune -f
3030
3131dev-test :
32- docker-compose run web python manage.py test
32+ docker-compose run --rm web python manage.py test
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ cd "$(git rev-parse --show-toplevel)"
1717# tests from here. If you want to run other test suites, see the predefined
1818# tasks in scripts/test.mk.
1919
20- echo " Unit tests are not yet implemented. See scripts/tests/unit.sh for more. "
20+ docker compose run web python manage.py test
You can’t perform that action at this time.
0 commit comments