Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,20 @@ jobs:
run: uv run pyright

- name: Pytest
run: uv run pytest --junitxml=junit-${{ matrix.python-version }}.xml
run: uv run pytest --junitxml=junit-${{ matrix.python-version }}.xml --cov-report=xml

# Upload coverage from the floor matrix entry only — the report is the
# same on every Python version, so one upload is enough. Non-blocking:
# a Codecov outage must not break CI.
- name: Upload coverage to Codecov
if: matrix.python-version == '3.13'
# codecov/codecov-action v6.0.1
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
with:
fail_ci_if_error: false
flags: unittests
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload junit XML on failure
if: failure()
Expand Down