From 341db82d69a8ebff5c2139a015286c2b8b85ffa6 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Tue, 16 Jul 2024 14:10:36 +0200 Subject: [PATCH] s --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 741f3369f7..449702b482 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,7 @@ jobs: retention-days: 30 test: + name: "Test (Python: ${{ matrix.python-version }}, DB: ${{ matrix.db-backend }})" needs: build-wheel runs-on: ubuntu-24.04 timeout-minutes: 45 @@ -120,10 +121,7 @@ jobs: - python-version: '3.12' db-backend: postgres end-to-end: true - - name: "Test (Python: ${{ matrix.python-version }}, DB: ${{ matrix.db-backend }})" steps: - - run: echo "Matrix - Python ${{ matrix.python-version }}, DB ${{ matrix.db-backend }} - ${{ matrix }}" - run: echo "true" if: matrix.end-to-end - run: echo "false" @@ -165,17 +163,19 @@ jobs: run: | pytest rdmo/core/tests/test_package_status.py::test_package_json_and_pre_commit_versions_match \ --nomigrations --verbose - if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres' + if: matrix.end-to-end - name: Run Tests run: | pytest -p randomly -p no:cacheprovider --cov --reuse-db --numprocesses=auto --dist=loadscope env: GITHUB_DB_BACKEND: ${{ matrix.db-backend }} + if: matrix.end-to-end == false - name: Upload coverage data to coveralls.io uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0 with: flag-name: '${{ matrix.db-backend }}: ${{ matrix.python-version }}' parallel: true + if: matrix.end-to-end == false # end-to-end tests - name: Install e2e tests dependencies run: playwright install chromium