From e03a0ac1fe660a859923372543e8016ecffa5345 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 29 Jan 2024 19:39:09 -0500 Subject: [PATCH] try services approach --- .github/workflows/integration-tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e099a677..24acc35d 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -50,15 +50,17 @@ jobs: - name: Check out repository uses: actions/checkout@v4 - - name: Setup postgres - shell: bash - run: psql -d postgres -U postgres -a -f ./scripts/setup_test_database.sql - - name: Setup `hatch` uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main with: python-version: ${{ matrix.python-version }} + - name: Setup postgres + shell: bash + run: psql -d postgres -U postgres -a -f ./scripts/setup_test_database.sql + env: + PGPASSWORD: postgres + - name: Run integration tests run: hatch run integration-tests:all