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
1 changed files with 2 additions and 0 deletions

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: