Skip to content

Commit

Permalink
fix: Fixing workflow file to tests are working with database.
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Dec 5, 2023
1 parent 142a4e6 commit 06dc05a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ jobs:
build:
name: Build and test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 06dc05a

Please sign in to comment.