From 74434640eb0b682540f09c57e601b836cf3d7c8c Mon Sep 17 00:00:00 2001 From: Fityan <63894003+fityannugroho@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:41:53 +0700 Subject: [PATCH] ci: configure environment variables for PostgreSQL in CI workflow --- .github/workflows/pr-tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 6deb2a3..492d39c 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -52,6 +52,14 @@ jobs: name: Build and test Docker image runs-on: ubuntu-latest + env: + DB_PROVIDER: postgresql + DB_HOST: db + DB_PORT: 5432 + DB_USERNAME: postgres + DB_PASSWORD: secret + DB_NAME: testdb + steps: - name: Checkout code uses: actions/checkout@v4