Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Jul 16, 2024
1 parent 8395daa commit 341db82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 341db82

Please sign in to comment.