Skip to content

Commit

Permalink
Upload test results to coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Dec 27, 2024
1 parent 5392933 commit 82022f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ jobs:
run: |
uv --no-progress run -- pytest
- name: Codecov upload
- name: Codecov - coverage
uses: codecov/codecov-action@v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Codecov - test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Do not call all detection heuristics on module import. Instead, call them lazily when needed.
- Make URLs required on all platforms.
- Invite users in error messages and logs to contribute back edge-cases to improve detection heuristics.
- Upload test results to coverage.

## [1.7.0 (2024-12-02)](https://github.com/kdeldycke/extra-platforms/compare/v1.6.0...v1.7.0)

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ addopts = [
"--cov-precision=2",
"--cov-report=term",
"--cov-report=xml",
"--junitxml=junit.xml",
"--override-ini=junit_family=legacy",
]
# Make sure tests that are expected to fail do not resurect and start working all of a sudden.
xfail_strict = true
Expand Down

0 comments on commit 82022f1

Please sign in to comment.