Skip to content

Commit

Permalink
build needs a database
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Nelson committed Jun 29, 2024
1 parent c3df40c commit 6ce31ff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ jobs:
name: Build and run tests
runs-on: ubuntu-20.04

services:
db:
image: postgres
ports: ["5432:5432"]
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTRGES_DB: test_bed_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand Down

0 comments on commit 6ce31ff

Please sign in to comment.