Commit 3f663a1
coverage: invoke via pdm run for consistency with test runner
Match the convention that CLAUDE.md already documents (line 27:
"Prefix commands with `pdm run` if the venv is not active").
- `.github/workflows/coverage.yml`: replace the
`pdm use --venv in-project && source .venv/bin/activate && ...`
dance with `pdm run python -m coverage ...`. Besides being
more concise, this removes a hardcoded POSIX venv layout
(`.venv/bin/activate`) that wouldn't work on Windows.
- `measure_coverage.sh`: likewise, prepend `pdm run ` to the bare
`coverage` invocations so the script no longer assumes an
already-activated venv.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 00f953f commit 3f663a1
2 files changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
0 commit comments