Commit 4c52bcb
Add coverage badge and coverage threshold (gijzelaerr#637)
* Add coverage badge and coverage threshold
- Replace artifact upload with codecov/codecov-action@v5 in test workflow
- Add codecov badge to README.rst
- Add coverage threshold of 80% in pyproject.toml and codecov.yml
Closes gijzelaerr#619
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Lower coverage threshold to 75% to match current coverage
Current coverage is 78% — set threshold to 75% to provide a safety net
without failing CI. Can be raised as coverage improves.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add project badges to README
Add PyPI version, Python versions, license, CI status, and Read the
Docs badges alongside the existing Codecov badge for a professional
landing page.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Don't fail CI when Codecov upload fails
Codecov v5 requires a token for protected branches, causing
"Token required because branch is protected" errors that block CI.
Coverage upload is best-effort, not a gate.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent f880d8c commit 4c52bcb
File tree
4 files changed
+30
-4
lines changed- .github/workflows
4 files changed
+30
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
1 | 19 | | |
2 | 20 | | |
3 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
0 commit comments