From 5316526b628c2c0277c9c99aa739571680b37da7 Mon Sep 17 00:00:00 2001 From: Gowtham Rao Date: Sun, 26 Oct 2025 06:59:51 -0400 Subject: [PATCH] ci: Add database secrets to CI workflow (#25) 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