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 be230c4 commit a7b9264
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Look for postgres
shell: bash
run: pg_isready -h localhost -p 5432 -d postgres -U postgres

- name: Setup postgres
shell: bash
run: psql -h localhost -p 5432 -d postgres -U postgres -c "select 1"
run: psql -f ./scripts/setup_test_database.sql
env:
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
PGDATABASE: postgres

- name: Setup `hatch`
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main
Expand Down

0 comments on commit a7b9264

Please sign in to comment.