From 0646610f0ce099d22158d69e94317fcea1697fa9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 13 Sep 2022 21:14:48 +0100 Subject: [PATCH] Ensure virtualenv is activated before running tests Seems scripts aren't deep merged --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 845b2c9..51b169d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,9 +64,8 @@ test_python: variables: POSTGRES_HOST_AUTH_METHOD: trust DATABASE_URL: postgres://postgres@postgres/postgres - before_script: - - apt-get update && apt-get install --yes git libpq-dev script: + - apt-get update && apt-get install --yes git libpq-dev - ./manage.py collectstatic --noinput --clear - coverage run ./manage.py test - coverage report