Skip to content

feat(ci): add 20% coverage threshold and terminal coverage report#18

Merged
KYBvWHxW merged 1 commit into
mainfrom
feat/ci-coverage-threshold
Apr 28, 2026
Merged

feat(ci): add 20% coverage threshold and terminal coverage report#18
KYBvWHxW merged 1 commit into
mainfrom
feat/ci-coverage-threshold

Conversation

@KYBvWHxW
Copy link
Copy Markdown
Contributor

Related Issue

Closes #17

Summary

  • Add --cov-fail-under=20 (baseline is 30%, threshold set with buffer)
  • Add --cov-report=term for visible coverage table in CI logs

Test Plan

  • Coverage locally is 30% (above 20% threshold)
  • CI passes with new threshold

🤖 Generated with Claude Code

Baseline coverage is 30%. Set threshold at 20% with buffer.
Add --cov-report=term for visible coverage in CI logs.

Closes #17

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 28, 2026 17:13
@KYBvWHxW KYBvWHxW merged commit 222e67b into main Apr 28, 2026
10 checks passed
@KYBvWHxW KYBvWHxW deleted the feat/ci-coverage-threshold branch April 28, 2026 17:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions CI test job to make Python test coverage visible in logs and to enforce a minimum coverage floor to prevent major regressions.

Changes:

  • Add terminal coverage output via --cov-report=term in CI.
  • Enforce a minimum coverage threshold via --cov-fail-under=20 while preserving XML coverage output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

feat(ci): add 20% coverage threshold and terminal coverage report

3 participants