Only download static artifacts for jobs which need them

This commit is contained in:
Jake Howard 2022-08-03 22:39:28 +01:00
parent 21fb994445
commit 684bb90707
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -55,7 +55,6 @@ container:
stage: test
dependencies:
- pip
- static
before_script:
- source env/bin/activate
variables:
@ -70,6 +69,9 @@ test_python:
- ./manage.py collectstatic --noinput --clear
- ./manage.py test
<<: *python_test_template
dependencies:
- pip
- static
django_checks:
<<: *python_test_template