Collect static before checks

This commit is contained in:
Jake Howard 2023-07-16 14:58:42 +01:00
parent f813d96442
commit 72204bbf72
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -82,6 +82,7 @@ django_checks:
extends: .python_test_template extends: .python_test_template
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