From ecc88a16ec0e7f93d60d5c48f8c9a2a1f675222d Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 26 Dec 2024 19:55:37 +0100 Subject: [PATCH] Add missing environment variables --- .woodpecker/tests.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.woodpecker/tests.yaml b/.woodpecker/tests.yaml index 530652b..8332620 100644 --- a/.woodpecker/tests.yaml +++ b/.woodpecker/tests.yaml @@ -2,12 +2,22 @@ when: - event: push services: - - image: postgres:15 + - name: postgres + image: postgres:15 + environment: + POSTGRES_NAME: newsreader + POSTGRES_USER: newsreader - image: memcached:1.5.22 steps: - name: python tests image: python:3.11 + environment: + DJANGO_SETTINGS_MODULE: "newsreader.conf.gitlab" + POSTGRES_HOST: postgres + POSTGRES_DB: newsreader + POSTGRES_NAME: newsreader + POSTGRES_USER: newsreader commands: - pip install uv - uv sync --extra testing --extra ci