Only download static artifacts for jobs which need them
This commit is contained in:
parent
21fb994445
commit
684bb90707
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,6 @@ container:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
- pip
|
- pip
|
||||||
- static
|
|
||||||
before_script:
|
before_script:
|
||||||
- source env/bin/activate
|
- source env/bin/activate
|
||||||
variables:
|
variables:
|
||||||
|
@ -70,6 +69,9 @@ test_python:
|
||||||
- ./manage.py collectstatic --noinput --clear
|
- ./manage.py collectstatic --noinput --clear
|
||||||
- ./manage.py test
|
- ./manage.py test
|
||||||
<<: *python_test_template
|
<<: *python_test_template
|
||||||
|
dependencies:
|
||||||
|
- pip
|
||||||
|
- static
|
||||||
|
|
||||||
django_checks:
|
django_checks:
|
||||||
<<: *python_test_template
|
<<: *python_test_template
|
||||||
|
|
Loading…
Reference in a new issue