equisoft-actions/Run a gradle task and upload reports
Run a gradle task expecting JaCoCo reports to be produced. The exported reports will follow naming conventions detailed by our ADRs (https://confluence.equisoft.com/display/HRMI/ADR). Coverage details will be added as comments on pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| download-artifact | Download the `jacoco-build` artifact. Defaults to `true`. | yes | true |
| enable-coverage-comment | Post coverage results as a comment on the Pull Request. Defaults to `true`. | yes | true |
| gradle-properties | Content of a gradle.properties file that will be passed to the gradle runner. | no | — |
| gradle-project-path | Gradle project path. For example: bff. Defaults to the root project. | yes | . |
| read-only-cache | If set to true, the action will only read from the cache and will not write to it. | yes | true |
| report-name | The name of the archived report. It must follow the convention detailed by our ADRs. | yes | kotlin-test-coverage.jacoco.xml |
| report-retention-days | Duration in days to preserve reports. | yes | 5 |
| task-name | The JaCoCo task name. Defaults to "ci-coverage-verification". | yes | ci-coverage-verification |
| working-directory | Relative path under $GITHUB_WORKSPACE where the root project is located. | no | . |
Outputs
no outputs