Commit 5b6f6d6
committed
pyproject, github/workflows: Add diff-cover for CI checks and dependencies
- Added `diff-cover` (>=10.2.0) as a development dependency in `pyproject.toml`.
- Modified `test-and-publish.yml` to add a new step for running `diff-cover`
during pull request workflows.
- Ensures new code meets a minimum 90% coverage threshold.
- Generates a Markdown report for coverage in modified code sections.
Assisted-by: Codex1 parent 7ab1038 commit 5b6f6d6
3 files changed
Lines changed: 134 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments