CI: Add failed tests to summary (#6271)
* Fix maestro CI flow not writing the successful summary * Add the test failures to the summary of the `test` CI flow
This commit is contained in:
parent
7571f1e530
commit
fb17509726
3 changed files with 87 additions and 1 deletions
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
|
|
@ -95,6 +95,15 @@ jobs:
|
|||
**/build/roborazzi/failures/
|
||||
**/build/reports/tests/*UnitTest/
|
||||
|
||||
- name: 🚫 Modify summary on error
|
||||
if: failure()
|
||||
run: |
|
||||
echo """## Tests failed!
|
||||
|
||||
""" >> $GITHUB_STEP_SUMMARY
|
||||
python3 .github/workflows/scripts/parse_test_failures.py . >> $GITHUB_STEP_SUMMARY
|
||||
echo "---" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
# https://github.com/codecov/codecov-action
|
||||
- name: ☂️ Upload coverage reports to codecov
|
||||
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue