Skip to content

Commit

Permalink
try services approach
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 30, 2024
1 parent aae803d commit e03a0ac
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e03a0ac

Please sign in to comment.