diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f3e614..845b2c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,7 +53,6 @@ poetry: dependencies: - poetry before_script: - - apt-get update && apt-get install --yes git libpq-dev - source env/bin/activate variables: SECRET_KEY: super-secret @@ -65,6 +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: - ./manage.py collectstatic --noinput --clear - coverage run ./manage.py test @@ -119,7 +120,7 @@ gunicorn_check: djhtml: extends: .python_test_template script: - - git ls-files '*.html' | xargs djhtml --check --tabwidth 2 + - find website/ -name '*.html' | xargs djhtml --check --tabwidth 2 npm_lint: image: node:18-slim