Skip to content

Commit fb68fe2

Browse files
chrisguidryclaude
andcommitted
Simplify CLI job coverage — let Codecov enforce 100%
--cov expects packages/directories, not individual files, so scoping coverage to just cli.py and _cli_support.py doesn't work with subprocess coverage. Instead, the CLI job uploads coverage for everything and Codecov merges it with core test uploads to enforce 100% across the board. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4bb04dd commit fb68fe2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,7 @@ jobs:
160160
- name: Run CLI tests
161161
env:
162162
REDIS_VERSION: "8.0"
163-
run: >
164-
uv run pytest tests/cli/
165-
-o 'addopts=--import-mode=importlib'
166-
--numprocesses=logical --maxprocesses=4
167-
--cov=src/docket/cli.py --cov=src/docket/_cli_support.py --cov=tests/cli
168-
--cov-branch --cov-config=.coveragerc-cli --cov-fail-under=100
169-
--cov-report=xml --cov-report=term-missing:skip-covered
170-
--timeout=30
163+
run: uv run pytest tests/cli/ --cov-config=.coveragerc-cli --cov-fail-under=0 --cov-report=xml --cov-report=term-missing:skip-covered
171164

172165
- name: Upload coverage reports to Codecov
173166
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)