Skip to content

Commit

Permalink
trying to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke committed Jan 18, 2024
1 parent dca8dfa commit f47af9e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
py_version: ['3.7', '3.8', '3.9', '3.10']
pg_version: ['10-2.5', '13-3.3', '15-3.3']
pg_version: ['13-3.3', '15-3.3']

# create the postgis service - the version is hardcoded atm
services:
Expand All @@ -38,8 +38,7 @@ jobs:
# e2e-tests rely on pytest and pytest-depends so far
- name: Install dependencies
run: |
pip install -r requirements.txt
python setup.py develop
pip install -e .
pip install pytest pytest-depends pytest-cov
# run the actual tests
Expand All @@ -50,11 +49,11 @@ jobs:
- name: e2e Tests
run: pytest --cov-config=.coveragerc --cov=./ --cov-report=xml
env:
METACATALOG_URI: postgresql://postgres:postgres@localhost:${{ job.services.postgis.ports[5432] }}/postgres
METACATALOG_URI: postgresql://postgres:postgres@postgis:5432/postgres
POSTGRES_PORT: ${{ job.services.postgis.ports[5432] }}

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

0 comments on commit f47af9e

Please sign in to comment.