Skip to content

Commit

Permalink
try for only one pg version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke committed Jan 19, 2024
1 parent e1cc0e6 commit fdd7f75
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
strategy:
matrix:
py_version: ['3.7', '3.8', '3.9', '3.10']
pg_version: ['13-3.3', '15-3.3']

# create the postgis service - the version is hardcoded atm
services:
postgis:
image: postgis/postgis:${{ matrix.pg_version }}
image: postgis/postgis:15-3.3
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand Down Expand Up @@ -47,10 +48,10 @@ jobs:
- name: e2e Tests
run: pytest --cov-config=.coveragerc --cov=./ --cov-report=xml
env:
METACATALOG_URI: postgresql://postgres:postgres@postgis:5432/postgres
METACATALOG_URI: postgresql://postgres:postgres@localhost:5432/postgres

- name: Upload coverage to Codecov
if: ${{ matrix.py_version }} == '3.9' && ${{ matrix.pg_version == '15.3-3' }}
if: ${{ matrix.py_version }} == '3.9'
uses: codecov/[email protected]
with:
file: ./coverage.xml
Expand Down

0 comments on commit fdd7f75

Please sign in to comment.