Skip to content

Commit eff5422

Browse files
committed
Merge branch 'story/gh-25' of https://github.com/diging/edrop-connector into story/gh-25
2 parents aeb42a0 + 7c93ca4 commit eff5422

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/django_test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
env:
14+
POSTGRES_USER: dbuser
15+
POSTGRES_PASSWORD: dbpassword
16+
POSTGRES_NAME: dbname
17+
POSTGRES_PORT: 5432
18+
services:
19+
db:
20+
image: postgres:16
21+
env:
22+
POSTGRES_USER: ${{ env.POSTGRES_USER }}
23+
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
24+
POSTGRES_DB: ${{ env.POSTGRES_PORT }}
25+
ports:
26+
- 5432:5432
27+
options: >-
28+
--health-cmd pg_isready
29+
--health-interval 10s
30+
--health-timeout 5s
31+
--health-retries 5
1332
strategy:
1433
max-parallel: 4
1534
matrix:

0 commit comments

Comments
 (0)