From ef20d9c6954a5b1747c784500fa87d2e24f11afb Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 2 Jun 2023 16:11:54 +0100 Subject: [PATCH] Install `libpq-dev` package for gunicorn and django checks Because we're using `django.contrib.postgres`, `psycopg2` must be importable --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f24435..7ab6685 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: