From d27c56c426f1ddf59c51095eddb6fd7a55230618 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 26 Oct 2025 10:41:42 +0000 Subject: [PATCH] ci: Add database secrets to CI workflow Adds the necessary database connection secrets as environment variables to the 'test' job in the CI/CD workflow. This allows the test suite to connect to the database during automated testing. --- .github/workflows/ci-cd.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index ed0b5ff..6d0b2ad 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -57,6 +57,12 @@ jobs: shell: bash - name: Run tests + env: + PGHOST: ${{ secrets.DB_POSTGRES_TEST_HOST}} + PGPORT: ${{ secrets.DB_POSTGRES_TEST_PORT }} + PGUSER: ${{ secrets.DB_POSTGRES_TEST_USERNAME}} + PGPASSWORD: ${{ secrets.DB_POSTGRES_TEST_PASSWORD}} + PGDATABASE: ${{ secrets.DB_POSTGRES_TEST_PATIENT_SYNTHETIC_DATA}} run: pytest shell: bash