Skip to content

Commit

Permalink
ci: hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Kuzmin committed Jun 7, 2020
1 parent 42ea609 commit c11da3d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
POSTGRES_DB: test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432/tcp
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- name: Check out repository code
Expand All @@ -40,7 +38,7 @@ jobs:
run: npm test
env:
POSTGRES_DB: test
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_HOST: localhost
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres

0 comments on commit c11da3d

Please sign in to comment.