Django checks requires static files

This commit is contained in:
Jake Howard 2023-07-16 15:02:40 +01:00
parent 72204bbf72
commit d5ed93db2a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -80,9 +80,11 @@ test_python:
django_checks: django_checks:
extends: .python_test_template extends: .python_test_template
dependencies:
- pip
- static
script: script:
- apt-get update && apt-get install --yes libpq-dev - apt-get update && apt-get install --yes libpq-dev
- ./manage.py collectstatic --noinput --clear
- ./manage.py check - ./manage.py check
- ./manage.py makemigrations --check --noinput - ./manage.py makemigrations --check --noinput