ensembleip/Coverage Gate (overall + diff)

Checks overall and PR diff coverage from a Cobertura XML report (coverage.xml). Optionally publishes PR check-runs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
coverage-xmlPath to Cobertura XML coverage report (e.g. coverage.xml).nocoverage.xml
min-coverageMinimum required overall coverage percentage (0-100).yes
min-diff-coverageMinimum required coverage percentage for changed Python files (0-100). If empty, diff coverage is skipped. no""
changed-files-globGlob(s) used to detect changed files (diff coverage). Only used for pull_request events. Can be a single glob or multiple globs (newline-separated). nosrc/*.py src/**/*.py
publish-checksIf true, publish results to the PR checks list via the Checks API. notrue
check-name-overallName for the overall coverage check-run.nocoverage (overall)
check-name-diffName for the diff coverage check-run.nocoverage (diff)
github-tokenGitHub token used to publish check-runs.no${{ github.token }}
namedescription
coverageOverall coverage percentage (min of line and branch coverage).
line_coverageOverall line coverage percentage.
branch_coverageOverall branch coverage percentage.
diff_coverageDiff coverage percentage for changed files (if computed).
changed_files_countCount of changed files matched by the glob (PR only).