Skip to content

Commit

Permalink
added db to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
khoroshevskyi committed Feb 7, 2024
1 parent ba342ce commit 82bcd20
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/cli-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,23 @@ on:

jobs:
cli-coverage-report:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.12" ]
os: [ ubuntu-latest ] # can't use macOS when using service containers or container jobs
r: [ release ]
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: docker
POSTGRES_DB: pep-db
POSTGRES_HOST: localhost
ports:
- 5432:5432
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 82bcd20

Please sign in to comment.