From a9f4acfaa03a25d2fef931e71a1382ec11c4fb3b Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Tue, 29 Oct 2024 20:18:54 -0400 Subject: [PATCH] chore: trying to fix postgresql testing --- .github/workflows/partial-frontend.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/partial-frontend.yaml b/.github/workflows/partial-frontend.yaml index 0314ec6c..5ca81fb3 100644 --- a/.github/workflows/partial-frontend.yaml +++ b/.github/workflows/partial-frontend.yaml @@ -39,6 +39,8 @@ jobs: POSTGRES_USER: homebox POSTGRES_PASSWORD: homebox POSTGRES_DB: homebox + ports: + - 5432:5432 options: >- --health-cmd pg_isready --health-interval 10s @@ -121,4 +123,6 @@ jobs: working-directory: frontend - name: Run Integration Tests + env: + HBOX_DATABASE_PORT: ${{ job.services.postgres.ports[5432] }} run: task test:ci:postgresql \ No newline at end of file