Skip to content

Commit

Permalink
fix(cd): add pg instance
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-milan committed Jan 8, 2024
1 parent b7a1a53 commit a3d903b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ jobs:
os: [ubuntu-latest]
arch: [x64]
python-version: ["3.11.x"]
services:
db:
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit a3d903b

Please sign in to comment.