Include passed tests in the JUnit report summary
The reporter warned "No annotations found ... configure 'include_passed' as 'true'" because with annotate_only the summary only listed failures. Set include_passed: true on both reporter steps so the job summary table lists the passing tests too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,7 @@ jobs:
|
|||||||
report_paths: 'ctest-junit.xml'
|
report_paths: 'ctest-junit.xml'
|
||||||
annotate_only: true
|
annotate_only: true
|
||||||
detailed_summary: true
|
detailed_summary: true
|
||||||
|
include_passed: true
|
||||||
fail_on_failure: 'true'
|
fail_on_failure: 'true'
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
@@ -63,5 +64,6 @@ jobs:
|
|||||||
report_paths: 'mutation-junit.xml'
|
report_paths: 'mutation-junit.xml'
|
||||||
annotate_only: true
|
annotate_only: true
|
||||||
detailed_summary: true
|
detailed_summary: true
|
||||||
|
include_passed: true
|
||||||
fail_on_failure: 'false'
|
fail_on_failure: 'false'
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user