Skip to content

Commit 3fc36f7

Browse files
authored
Merge pull request #82 from constructive-io/fix/pg-isready-user
ci: fix pg_isready health check to use -U postgres
2 parents a496a00 + 7e572d0 commit 3fc36f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
POSTGRES_USER: postgres
5151
POSTGRES_PASSWORD: password
5252
options: >-
53-
--health-cmd pg_isready
53+
--health-cmd "pg_isready -U postgres"
5454
--health-interval 10s
5555
--health-timeout 5s
5656
--health-retries 5

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
POSTGRES_USER: postgres
2525
POSTGRES_PASSWORD: password
2626
options: >-
27-
--health-cmd pg_isready
27+
--health-cmd "pg_isready -U postgres"
2828
--health-interval 10s
2929
--health-timeout 5s
3030
--health-retries 5

0 commit comments

Comments
 (0)