Commit 4bb04dd
Enforce 100% coverage across all CI legs
The first CI run of the split showed core tests failing at 99% because
`tests/cli/run.py` and `tests/cli/waiting.py` leaked through the
`test_*.py` glob, and `register_collection` in `docket.py` was only
tested via CLI tests.
Changes:
- Add `--cov-fail-under=100` to pyproject.toml as the local default
- Scope CLI job coverage to just `cli.py`, `_cli_support.py`, and
`tests/cli/` so 100% is achievable for that slice
- Widen coveragerc-core omit to `tests/cli/*.py` (not just `test_*.py`)
- Add `test_register_collection` to core tests
- Remove stale `.coveragerc-memory` reference in `tests/cli/run.py`
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5c246fb commit 4bb04dd
File tree
4 files changed
+25
-7
lines changed- .github/workflows
- tests
- cli
4 files changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
164 | 171 | | |
165 | 172 | | |
166 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 33 | + | |
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
79 | 94 | | |
80 | 95 | | |
81 | 96 | | |
| |||
0 commit comments