From 3a8aef04b0b923400c5332f3d28a60e0b45e9295 Mon Sep 17 00:00:00 2001 From: zwitschi Date: Sun, 2 Nov 2025 16:29:19 +0100 Subject: [PATCH] fix: update database connection details in CI workflow for consistency --- .gitea/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 470186b..1787382 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: test: env: APT_CACHER_NG: http://192.168.88.14:3142 - DB_DRIVER: postgresql - DB_HOST: postgres + DB_DRIVER: postgresql+psycopg2 + DB_HOST: 192.168.88.35 DB_NAME: calminer_test DB_USER: calminer DB_PASSWORD: calminer_password @@ -60,12 +60,12 @@ jobs: - name: Run tests env: - DATABASE_DRIVER: postgresql+psycopg2 - DATABASE_HOST: postgres + DATABASE_DRIVER: ${ { env.DB_DRIVER } } + DATABASE_HOST: ${ { env.DB_HOST } } DATABASE_PORT: 5432 - DATABASE_USER: calminer - DATABASE_PASSWORD: calminer_password - DATABASE_NAME: calminer_test + DATABASE_USER: ${ { env.DB_USER } } + DATABASE_PASSWORD: ${ { env.DB_PASSWORD } } + DATABASE_NAME: ${ { env.DB_NAME } } run: | pytest tests/ --cov=.