Skip to content

Commit 14295d3

Browse files
committed
Adjust pipeline to report unit test results
1 parent 6ed2409 commit 14295d3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yml

+16
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,22 @@ jobs:
108108
path: '**/target/*.jar'
109109
retention-days: 2
110110

111+
- name: Upload Unit Test Report
112+
uses: actions/upload-artifact@v3
113+
if: ${{ always() }}
114+
with:
115+
name: unit-test-report
116+
path: '**/target/surefire-reports/*.xml'
117+
if-no-files-found: error
118+
retention-days: 2
119+
120+
- name: Publish Report
121+
if: ${{ always() }}
122+
uses: turing85/[email protected]
123+
with:
124+
report-name: Unit Test
125+
report-path: '**/target/surefire-reports/*.xml'
126+
111127
owasp:
112128
name: OWASP Scan
113129
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)