Skip to content

Commit 356d99a

Browse files
committed
Add step to parse and publish as artifact test results
Test result artifact is going to be published as HTML table that is visible right from the run page.
1 parent 7b6f2d4 commit 356d99a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/[email protected]

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ jobs:
8686
name: test-results
8787
path: "*/**/target/*-reports/*.xml"
8888

89+
- name: Parse test results
90+
uses: mikepenz/action-junit-report@v5
91+
if: failure()
92+
with:
93+
check_name: Unit tests report
94+
token: ""
95+
require_tests: true
96+
report_paths: "*/**/target/*-reports/*.xml"
97+
follow_symlink: true
98+
8999
setup-integration-tests:
90100
name: Setup ITs
91101
runs-on: ubuntu-20.04
@@ -168,6 +178,17 @@ jobs:
168178
name: ccm-logs-cassandra-${{ matrix.cassandra-version }}
169179
path: /tmp/*-0/ccm*/node*/logs/*
170180

181+
- name: Parse test results
182+
uses: mikepenz/action-junit-report@v5
183+
if: failure()
184+
with:
185+
check_name: Integration tests report for Cassandra ${{ matrix.cassandra-version }}
186+
token: ""
187+
require_tests: true
188+
report_paths: "*/**/target/*-reports/*.xml"
189+
follow_symlink: true
190+
detailed_summary: true
191+
171192
scylla-integration-tests:
172193
name: Scylla ITs
173194
runs-on: ubuntu-20.04
@@ -225,3 +246,14 @@ jobs:
225246
with:
226247
name: ccm-logs-scylla-${{ matrix.scylla-version }}
227248
path: /tmp/*-0/ccm*/node*/logs/*
249+
250+
- name: Parse test results
251+
uses: mikepenz/action-junit-report@v5
252+
if: failure()
253+
with:
254+
check_name: Integration tests report for Scylla ${{ matrix.scylla-version }}
255+
token: ""
256+
require_tests: true
257+
report_paths: "*/**/target/*-reports/*.xml"
258+
follow_symlink: true
259+
detailed_summary: true

0 commit comments

Comments
 (0)