The GitHub Actions job "Code Style" on grails-core.git/grails8-groovy5-sb4 has 
failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
7896ef874373af373d698ee47c817c3742a43dab / James Fredley 
<[email protected]>
fix(grails-gradle): skip missing input dirs in mergeTestReports

The TestReport task registered by TestPhasesGradlePlugin reads test
results from 'test-results/<phase>/binary' directories. When a phase
is skipped (e.g. integrationTest under -PonlyCoreTests) the directory
does not exist and the TestReport task fails with 'Could not write
test report for results in [...]'.

Filter testResults with { File f -> f.exists() } so non-existent
directories are silently dropped. When nothing is produced for a
phase, the merge report is just smaller; when all phases skip, the
merge report is empty but the task still succeeds.

Fixes 14 cascade failures in grails-test-examples-* modules when the
build is invoked with -PonlyCoreTests (the flag used by the CI
'Build Grails-Core' job).

Report URL: https://github.com/apache/grails-core/actions/runs/24005347472

With regards,
GitHub Actions via GitBox

Reply via email to