yshrsmz/Kover Report Action

A generalized GitHub Action for generating and reporting code coverage from Kover XML reports with multi-module support

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
discovery-commandCommand to discover modules (e.g., "./gradlew -q projects"). If not provided, uses coverage-files glob pattern.no
coverage-filesGlob pattern for coverage files (used when discovery-command is not provided)no**/build/reports/kover/report.xml
module-path-templatePath template for module coverage files (use {module} placeholder). Only used with discovery-command.no{module}/build/reports/kover/report.xml
ignore-modulesComma-separated list of modules to ignore (e.g., ":core,:build-logic")no""
thresholdsJSON object with module type/name thresholds (e.g., {"core": 80, ":core:testing": 0, "default": 60})no{"default": 60}
min-coverageGlobal minimum coverage percentage required (0-100). Fails action if overall coverage is below this value.no0
github-tokenGitHub token for PR comments (typically secrets.GITHUB_TOKENno
titleTitle for the coverage reportnoCode Coverage Report
enable-pr-commentWhether to post coverage report as PR commentnotrue
enable-historyEnable coverage history tracking and trend indicatorsnofalse
history-retentionNumber of history entries to keep (used when enable-history is true)no50
baseline-branchBranch to use as baseline for trend comparison (e.g., "main", "develop")nomain
debugEnable debug loggingnofalse
namedescription
coverage-percentageOverall coverage percentage (weighted by module size)
instructions-coveredTotal instructions covered across all modules
instructions-totalTotal instructions across all modules
modules-coverage-jsonJSON object with per-module coverage (e.g., {":core:common": 85.5, ":data": 75.2})
modules-below-thresholdComma-separated list of modules below threshold