Add a Makefile rule for running the tests inside the docker container

This commit is contained in:
Simón Oroño 2023-11-25 08:21:14 -04:00 committed by Simón Oroño
parent 45efd0702c
commit d57fd5ab01

View file

@ -70,6 +70,9 @@ docker-stop: # (Docker) Stop containers
docker-down: # (Docker) Stop and removes containers and networks
docker-compose down
docker-test: # (Docker) Run tests
docker-compose exec -T app python manage.py test ${local_config}
docker-prod:
docker-compose -f docker-compose.yml -f docker-compose.override.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d