Skip to content

Commit 449f6d1

Browse files
author
Jonathan Shook
committed
extend surefire artifact attachment to all jobs
1 parent d3a0018 commit 449f6d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,14 @@ jobs:
127127
with:
128128
paths: |
129129
**/target/surefire-reports/TEST-*.xml
130+
# Upload Surefire test results as an artifact
131+
- name: Upload Surefire Test Results
132+
uses: actions/upload-artifact@v4
133+
if: always() # ensures upload happens even if tests fail
134+
with:
135+
name: surefire-results--${{ matrix.isa }}-${{ matrix.jdk }}
136+
path: "**/target/surefire-reports/**"
137+
138+
130139

131140

0 commit comments

Comments
 (0)