Skip to content

Commit c1fe692

Browse files
committed
Add postgres service container for tests
1 parent 060a86b commit c1fe692

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

+12
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ jobs:
2121
image: lphoward/fake-s3
2222
ports: ["4569:4569"]
2323

24+
postgres:
25+
image: postgres:16
26+
env:
27+
POSTGRES_PASSWORD: postgres
28+
options: >-
29+
--health-cmd pg_isready
30+
--health-interval 10s
31+
--health-timeout 5s
32+
--health-retries 5
33+
ports:
34+
- 5432:5432
35+
2436
steps:
2537
- name: Checkout
2638
uses: actions/checkout@v2

0 commit comments

Comments
 (0)