Begin writing live tests

This commit is contained in:
2023-01-01 21:52:43 +00:00
parent b2361bda77
commit 46aaff43c0
3 changed files with 101 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ log:
docker-compose --env-file=stack.env logs -f
test:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py test $(MODULES) -v 2"
docker-compose --env-file=stack.env run -e LIVE=$(LIVE) --rm app sh -c ". /venv/bin/activate && python manage.py test $(MODULES) -v 2"
migrate:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py migrate"