Run type checks in test_docker

This commit is contained in:
Denis Orehovsky 2018-08-19 14:08:29 +03:00
parent 78efa64f73
commit c18a2fca8c

View File

@ -14,6 +14,9 @@ cd .cache/docker
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=y cookiecutter ../../ --no-input --overwrite-if-exists use_docker=y
cd my_awesome_project cd my_awesome_project
# run the project's type checks
docker-compose -f local.yml run django mypy my_awesome_project
# run the project's tests # run the project's tests
docker-compose -f local.yml run django python manage.py pytest docker-compose -f local.yml run django python manage.py pytest