Skip to content

test: enforce 100% coverage in CI#2

Merged
Phlogistique merged 1 commit into
mainfrom
worktree-full-coverage
Jun 26, 2026
Merged

test: enforce 100% coverage in CI#2
Phlogistique merged 1 commit into
mainfrom
worktree-full-coverage

Conversation

@Phlogistique

Copy link
Copy Markdown
Contributor

addopts in pyproject runs coverage on every pytest invocation with fail_under=100, so the existing test step in ci.yml and release.yml now gates it.

To close the gaps: tests for the verbose command echo, run()'s error path, main()'s CommandError handler, and the python -m entrypoint. Dropped the unused include_untracked parameter on worktree_dirty rather than test dead code; the version fallback is marked no-cover as it only runs from an uninstalled source tree.

🤖 Generated with Claude Code

addopts in pyproject runs coverage on every pytest invocation with
fail_under=100, so the existing test step in ci.yml and release.yml now
gates it.

To close the gaps: tests for the verbose command echo, run()'s error
path, main()'s CommandError handler, and the `python -m` entrypoint.
Dropped the unused include_untracked parameter on worktree_dirty rather
than test dead code; the version fallback is marked no-cover as it only
runs from an uninstalled source tree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Phlogistique
Phlogistique marked this pull request as ready for review June 26, 2026 13:18
@Phlogistique
Phlogistique merged commit c7f0bde into main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant