equisoft-actions/Run a gradle/junit task and upload test reports
Run a gradle task expecting JUnit reports to be produced. The exported reports will follow naming conventions detailed by our ADRs (https://confluence.equisoft.com/display/HRMI/ADR). This actions will also annotate the PR or commit with the failed tests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| 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-retention-days | Duration in days to preserve reports. | yes | 5 |
| task-name | The JUnit task name. The action expects a Gradle task named "ci-<task-name>". This task name will be used to read multiple outputs under the build directory: - <project>/build/jacoco/<task-name>.exec - <project>/build/reports/tests/<task-name>/ - <project>/build/test-results/<task-name>/ Defaults to "test". | yes | test |
| working-directory | Relative path under $GITHUB_WORKSPACE where the root project is located. | no | . |
Outputs
no outputs