gmazzo/Publish Reports

Reports JUnit, Android Lint, Xcode's XCResults, Detekt and any other CheckStyle compatible XML reports as GitHub Actions annotations

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenSpecify the token to use to publish the check (required unless you set `appId` and `appSecret`)no${{ github.token }}
appIdA GitHub App ID to use to publish the check (required unless you set `token`)no
appSecretA GitHub App secret (private key) to use to publish the check (required unless you set `token`)no
checkNameCheck name for test reports (only annotates if missing)no
reportsA multiline list of glob paths to report XML filesyes**/build/test-results/**/*.xml **/build/reports/**/*.xml **/build/outputs/androidTest-results/**/*.xml **/*.xcresult
workflowSummaryWhether to report the summary to the running workflow or not. Defaults to `true` if `checkName` is not set, or `false` otherwiseno
testsSummaryThe kind summary to report for the tests found: `full` (default), `suitesOnly`, `totals` or `off`yesfull
checksSummaryThe kind summary to report for the checks found: `full` (default), `totals`, `off`yesfull
linksInSummariesWhether to include links or not into individual test and check entries in the summariesyestrue
filterPassedTestsWhether to filter tests (suites and cases) that has passed from reporting into the summaryyesfalse
filterChecksReport only check annotations coming from files that have been changed in the PR (tests won't be filtered)nofalse
detectFlakyTestsIf multiple test reports matching `className` and `name` are found, they will be assumed re-tries. If at least once of those passes, the test is considered flaky and passed.nofalse
warningsAsErrorsTreat warnings as errorsnofalse
failOnErrorFail the action if any errors are foundnofalse
failIfNoReportsFoundFail the action if no reports are found for the given `reports` inputnofalse
reportFileMaxSizeMaximum size of a single report file to be processed (examples: 1KB, 3MB). Defaults to 10MBno10MB
invalidFileActionThe action when a report file fails to be read. Can be `fail`, `report` (default) or `log`noreport

no outputs