lepusinc/Report Code Coverage

Reads coverage report files matched by a glob pattern and outputs a summary to GitHub Step Summary. Optionally downloads coverage artifacts from prior jobs before reading.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
fileGlob pattern matching coverage report files to read (e.g. "**/clover.xml"). Currently Clover XML is supported.yes
artifactYAML or JSON configuration passed to actions/download-artifact to fetch coverage artifacts before reading. Leave empty to skip artifact download and read files already present in the workspace.no""
requiredWhether to fail the job when no files match the `file` glob. Parsed as boolean ("true"/"false"). Defaults to "true".notrue
step-summaryWhether to write the coverage report to GitHub Step Summary. Parsed as boolean ("true"/"false"). Defaults to "true".notrue
titleHeading text used for the coverage section in Step Summary and the `title` output.noCoverage
thresholds-linesLine coverage thresholds in "<warn> <fail>" format (e.g. "60 80"). Empty disables the check.no""
thresholds-methodsMethod coverage thresholds in "<warn> <fail>" format (e.g. "60 80"). Empty disables the check.no""
thresholds-conditionalsConditional/branch coverage thresholds in "<warn> <fail>" format (e.g. "60 80"). Empty disables the check. Skipped when conditional coverage is not measured.no""
uncovered-methods-limitMaximum number of uncovered methods to list in the report. Use "0" or "off" to disable the listing entirely. Defaults to "10".no10
namedescription
titleHeading text used for the coverage report (mirrors the `title` input).
linesOverall line coverage percentage as a number, or "-" if no files were found.
methodsOverall method coverage percentage as a number, or "-" if no files were found.
conditionalsOverall conditional/branch coverage percentage as a number. Skipped (empty) when conditional coverage is not measured.
resultOverall threshold result: "ok", "warn", or "fail". "-" when no files were found.
reportFull coverage report serialized as a JSON string.