Skip to content

Commit 5059700

Browse files
authored
build: report tests on failure
1 parent c49e6c4 commit 5059700

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/full-build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ jobs:
99
matrix:
1010
os: [ubuntu-latest, windows-latest, macos-latest]
1111
java-version: [21]
12-
1312
include:
1413
- os: ubuntu-latest
1514
java-version: 24
16-
1715
steps:
1816
- name: Checkout
1917
uses: actions/checkout@v5
@@ -29,9 +27,9 @@ jobs:
2927
BUILD_PORT: 0
3028
BUILD_SECURE_PORT: 0
3129
BUILD_LOG_LEVEL: 'ERROR'
32-
- name: Test Result
30+
- name: Tests
3331
uses: mikepenz/action-junit-report@v5
34-
if: always()
32+
if: failure()
3533
with:
36-
check_name: JUnit ${{ matrix.kind }} ${{ matrix.java-version }} ${{ matrix.os }}
34+
check_name: Test ${{ matrix.os }} ${{ matrix.java-version }}
3735
report_paths: '*/target/*/TEST-*.xml'

0 commit comments

Comments
 (0)