Skip to content

Commit 706d22a

Browse files
committed
Archive Gradle test report when the test failed
1 parent 83335fc commit 706d22a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/gradle.yml

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
java-version: ${{ matrix.java }}
2222
- name: Build with Gradle
2323
run: ./gradlew build
24+
- name: Archive test reports
25+
if: failure()
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: Gradle Test Reports Java ${{ matrix.java }}
29+
path: build/reports/tests/test
2430

2531
publishCoverage:
2632
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)