Skip to content

Commit b32de13

Browse files
authored
Add step to parse and publish as artifact test results (#454)
Test result artifact is going to be published as HTML table that is visible right from the run page.
1 parent 7b6f2d4 commit b32de13

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/[email protected]

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ 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: ${{ always() }}
92+
with:
93+
check_name: Unit tests report
94+
require_tests: true
95+
report_paths: "*/**/target/*-reports/*.xml"
96+
follow_symlink: true
97+
updateComment: false
98+
skip_annotations: true
99+
89100
setup-integration-tests:
90101
name: Setup ITs
91102
runs-on: ubuntu-20.04
@@ -168,6 +179,18 @@ jobs:
168179
name: ccm-logs-cassandra-${{ matrix.cassandra-version }}
169180
path: /tmp/*-0/ccm*/node*/logs/*
170181

182+
- name: Parse test results
183+
uses: mikepenz/action-junit-report@v5
184+
if: ${{ always() }}
185+
with:
186+
check_name: Integration tests report for Cassandra ${{ matrix.cassandra-version }}
187+
require_tests: true
188+
report_paths: "*/**/target/*-reports/*.xml"
189+
follow_symlink: true
190+
detailed_summary: true
191+
updateComment: false
192+
skip_annotations: true
193+
171194
scylla-integration-tests:
172195
name: Scylla ITs
173196
runs-on: ubuntu-20.04
@@ -225,3 +248,15 @@ jobs:
225248
with:
226249
name: ccm-logs-scylla-${{ matrix.scylla-version }}
227250
path: /tmp/*-0/ccm*/node*/logs/*
251+
252+
- name: Parse test results
253+
uses: mikepenz/action-junit-report@v5
254+
if: ${{ always() }}
255+
with:
256+
check_name: Integration tests report for Scylla ${{ matrix.scylla-version }}
257+
require_tests: true
258+
report_paths: "*/**/target/*-reports/*.xml"
259+
follow_symlink: true
260+
detailed_summary: true
261+
updateComment: false
262+
skip_annotations: true

0 commit comments

Comments
 (0)