From 684bb90707f1ba9e03887057073a7768e7b08c3e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 Aug 2022 22:39:28 +0100 Subject: [PATCH] Only download static artifacts for jobs which need them --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c7d8ee..6d7700e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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