Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nashif committed Feb 8, 2025
1 parent f3bdd2b commit 45472ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,22 +245,22 @@ jobs:
comment_mode: off

- name: Check out source code
if: failure()
if: needs.twister-build.status == 'failure'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false

- name: Analyze Twister Reports
if: failure()
if: needs.twister-build.status == 'failure'
run: |
./scripts/ci/twister_report_analyzer.py artifacts/*/*/twister.json --long-summary --platforms --output-md errors.md
echo '### Error Summary! 🚀' >> $GITHUB_STEP_SUMMARY
cat errors.md >> $GITHUB_STEP_SUMMARY
- name: Upload Twister Analysis Results
if: failure()
if: needs.twister-build.status == 'failure'
uses: actions/upload-artifact@v4
with:
name: Twister Analysis Results
Expand Down

0 comments on commit 45472ed

Please sign in to comment.