gmazzo/Publish Reports
Reports JUnit, Android Lint, Xcode's XCResults, Detekt and any other CheckStyle compatible XML reports as GitHub Actions annotations
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Specify the token to use to publish the check (required unless you set `appId` and `appSecret`) | no | ${{ github.token }} |
| appId | A GitHub App ID to use to publish the check (required unless you set `token`) | no | — |
| appSecret | A GitHub App secret (private key) to use to publish the check (required unless you set `token`) | no | — |
| checkName | Check name for test reports (only annotates if missing) | no | — |
| reports | A multiline list of glob paths to report XML files | yes | **/build/test-results/**/*.xml **/build/reports/**/*.xml **/build/outputs/androidTest-results/**/*.xml **/*.xcresult |
| workflowSummary | Whether to report the summary to the running workflow or not. Defaults to `true` if `checkName` is not set, or `false` otherwise | no | — |
| testsSummary | The kind summary to report for the tests found: `full` (default), `suitesOnly`, `totals` or `off` | yes | full |
| checksSummary | The kind summary to report for the checks found: `full` (default), `totals`, `off` | yes | full |
| linksInSummaries | Whether to include links or not into individual test and check entries in the summaries | yes | true |
| filterPassedTests | Whether to filter tests (suites and cases) that has passed from reporting into the summary | yes | false |
| filterChecks | Report only check annotations coming from files that have been changed in the PR (tests won't be filtered) | no | false |
| detectFlakyTests | If 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. | no | false |
| warningsAsErrors | Treat warnings as errors | no | false |
| failOnError | Fail the action if any errors are found | no | false |
| failIfNoReportsFound | Fail the action if no reports are found for the given `reports` input | no | false |
| reportFileMaxSize | Maximum size of a single report file to be processed (examples: 1KB, 3MB). Defaults to 10MB | no | 10MB |
| invalidFileAction | The action when a report file fails to be read. Can be `fail`, `report` (default) or `log` | no | report |
Outputs
no outputs