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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
gradle-propertiesContent of a gradle.properties file that will be passed to the gradle runner.no
gradle-project-pathGradle project path. For example: bff. Defaults to the root project. yes.
read-only-cacheIf set to true, the action will only read from the cache and will not write to it.yestrue
report-retention-daysDuration in days to preserve reports.yes5
task-nameThe 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". yestest
working-directoryRelative path under $GITHUB_WORKSPACE where the root project is located.no.

no outputs