Skip to content

Commit cc50e37

Browse files
committed
CI: Upload test reports
1 parent 280dafc commit cc50e37

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,24 @@ jobs:
7676
TEST_DATA_ZSTD_KEY: ${{ secrets.TEST_DATA_ZSTD_KEY }}
7777
TEST_DATA_ZSTD_PARAMS: ${{ secrets.TEST_DATA_ZSTD_PARAMS }}
7878
run: ./gradlew test
79+
80+
- name: Upload JUnit XML Test Report
81+
if: ${{ !cancelled() }}
82+
uses: actions/upload-artifact@v5
83+
with:
84+
name: junit-xml-test-report
85+
path: '**/build/test-results/test'
86+
87+
- name: Upload HTML Test Report
88+
if: ${{ !cancelled() }}
89+
uses: actions/upload-artifact@v5
90+
with:
91+
name: junit-html-test-report
92+
path: '**/build/reports/tests/test'
93+
94+
- name: Annotate Failed Tests
95+
uses: mikepenz/action-junit-report@v6
96+
if: ${{ !cancelled() }}
97+
with:
98+
report_paths: '**/build/test-results/test/TEST-*.xml'
99+
annotate_only: 'true'

0 commit comments

Comments
 (0)