Skip to content

Commit 9d50ec6

Browse files
committed
add pg to ci tests
1 parent 027fd19 commit 9d50ec6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/elixir_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ jobs:
1818
runs-on: ubuntu-latest
1919
env:
2020
MIX_ENV: test
21+
22+
services:
23+
postgres:
24+
image: "postgres:17-alpine"
25+
env:
26+
POSTGRES_PASSWORD: password
27+
options: >-
28+
--health-cmd pg_isready
29+
--health-interval 10s
30+
--health-timeout 5s
31+
--health-retries 5
32+
ports:
33+
- 54321:5432
34+
2135
steps:
2236
- uses: actions/checkout@v4
2337

0 commit comments

Comments
 (0)