Skip to content

Commit

Permalink
Use postgres values
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Mar 13, 2024
1 parent f157591 commit e7ecf63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: test
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand All @@ -45,7 +47,7 @@ jobs:
run: cd packages/api && npm install

- name: Run integration tests
run: cd packages/api && POSTGRES_HOST=127.0.0.1 POSTGRES_DB=postgres POSTGRES_USER=postges POSTGRES_PASS=test POSTGRES_DB=test npm run test:integration
run: cd packages/api && POSTGRES_HOST=127.0.0.1 POSTGRES_DB=postgres POSTGRES_USER=postges POSTGRES_PASS=postgres POSTGRES_DB=test npm run test:integration

build_api:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e7ecf63

Please sign in to comment.