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:
committed by
GitHub
parent
e43bce5b20
commit
494e425de0
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
|
||||
|
||||
Reference in New Issue
Block a user