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:
Jorge Martin Espinosa
2026-03-02 11:23:41 +01:00
committed by GitHub
parent e43bce5b20
commit 494e425de0
3 changed files with 87 additions and 1 deletions

View File

@@ -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