From f47af9ecc55a1b77387df1881938ec7549094f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirko=20M=C3=A4licke?= Date: Thu, 18 Jan 2024 19:22:51 +0100 Subject: [PATCH] trying to fix CI --- .github/workflows/e2e.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7a46ca49..c6d8802f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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: @@ -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 @@ -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/codecov-action@v3.1.1 with: file: ./coverage.xml