Skip to content

Commit d8e71f8

Browse files
committed
ci: attach test failure reports to job.
1 parent 783fc48 commit d8e71f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/validate.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,11 @@ jobs:
4141
files: "**/test-results/**/*.xml"
4242
comment_mode: off
4343
check_name: Unit Tests (Java ${{ matrix.java }})
44+
45+
- name: Upload Test Reports
46+
if: failure()
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: test-reports-java-${{ matrix.java }}
50+
path: "**/build/reports/tests/test"
51+
if-no-files-found: ignore

0 commit comments

Comments
 (0)