Skip to content

Commit

Permalink
set database
Browse files Browse the repository at this point in the history
  • Loading branch information
dzgierski19 committed Jun 6, 2024
1 parent 6013b00 commit 449201f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ on:
- dev

jobs:
# services:
# postgres:
# image: postgres:latest
# ports:
# - 5432:5432
# env:
# POSTGRES_DB: testdb
# POSTGRES_USER: testuser
# POSTGRES_PASSWORD: testpassword
# options: >-
# --health-cmd="pg_isready -U $${POSTGRES_USER}"
# --health-interval=10s
# --health-timeout=5s
# --health-retries=5

build:
runs-on: ${{ matrix.os }}

services:
postgres:
image: postgres:latest
ports:
- 5432:5432
env:
POSTGRES_DB: testdb
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpassword
options: >-
--health-cmd="pg_isready -U $${POSTGRES_USER}"
--health-interval=10s
--health-timeout=5s
--health-retries=5
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand Down

0 comments on commit 449201f

Please sign in to comment.