diff --git a/.github/workflows/cli-coverage.yml b/.github/workflows/cli-coverage.yml index 8914316..217e7e4 100644 --- a/.github/workflows/cli-coverage.yml +++ b/.github/workflows/cli-coverage.yml @@ -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