Skip to content

Commit

Permalink
add postgresql container
Browse files Browse the repository at this point in the history
  • Loading branch information
matjam committed Jan 12, 2024
1 parent c2698e7 commit 2458dbf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ jobs:
build:
runs-on: ubuntu-latest

services:
postgres:
image: postgres:latest
env:
POSTGRES_PASSWORD: ""
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 2458dbf

Please sign in to comment.