diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 363b86959788038c4b315423fdd2cc633b5df76a..013103f1b966ea879f89a3cd819bf3ea948d5600 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ build_test_env: artifacts: paths: - .venv/ - expire_in: 1 hour + expire_in: 20 minutes cache: paths: - .venv @@ -76,6 +76,7 @@ test_coverage: - coverage html -d public dependencies: - test_pytest + - build_test_env artifacts: paths: - public diff --git a/Makefile b/Makefile index 035e3be63dba808a65b7cd10049ce7e820383ce6..222b3a5b24b6a2cc3b47913cf0ff5bf7e88bfa67 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,9 @@ isort-check: migrate: python manage.py migrate -install: - pip install -r requirements.txt - pip install -r requirements.dev.txt +install: + pip install -Ur requirements.txt + pip install -Ur requirements.dev.txt test: DJANGO_SETTINGS_MODULE=grady.settings pytest