Install libpq-dev package for gunicorn and django checks

Because we're using `django.contrib.postgres`, `psycopg2` must be importable
This commit is contained in:
Jake Howard 2023-06-02 16:11:54 +01:00
parent 8e3bb2a9c8
commit ef20d9c695
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -79,6 +79,7 @@ test_python:
django_checks:
extends: .python_test_template
script:
- apt-get update && apt-get install --yes libpq-dev
- ./manage.py check
- ./manage.py makemigrations --check --noinput
@ -110,6 +111,7 @@ djlint:
gunicorn_check:
extends: .python_test_template
script:
- apt-get update && apt-get install --yes libpq-dev
- gunicorn --check-config --config etc/gunicorn.conf.py
npm_lint: