Skip to content

Commit

Permalink
Add postgres service to container doc generation job (#842)
Browse files Browse the repository at this point in the history
Add postgres service to container doc generation for record linkage container
  • Loading branch information
nickclyde authored Sep 27, 2023
1 parent c3abf8c commit 1569aa0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/createNewRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,22 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-latest
services:
test-db:
image: postgres:13-alpine3.16
env:
POSTGRES_PASSWORD: pw
POSTGRES_DB: testdb
POSTGRES_USER: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
--name testdb
ports:
- 5432:5432
strategy:
matrix:
container: ${{fromJson(needs.list-containers.outputs.containers)}}
Expand Down

0 comments on commit 1569aa0

Please sign in to comment.