Skip to content

Commit 174c6bb

Browse files
authored
Add junit report action (#4218)
Improves #4202 Example reports: https://github.com/sake92/mill/actions/runs/12563637492 If you click on a failed job on the left, you will see annotations section on the top. It shows which tests failed and the reason message.
1 parent 5e7324c commit 174c6bb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/post-build-selective.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,14 @@ jobs:
7272
if: startsWith(inputs.os, 'windows')
7373
shell: bash
7474
continue-on-error: true
75+
76+
- name: Publish Test Report
77+
uses: mikepenz/action-junit-report@v5
78+
if: always() # always run even if the previous step fails
79+
with:
80+
fail_on_failure: false
81+
include_passed: false
82+
detailed_summary: true
83+
annotate_only: true
84+
require_tests: false
85+
report_paths: 'out/**/test-report.xml'

0 commit comments

Comments
 (0)