Skip to content

Commit

Permalink
Changed comments workflow to pickup new test-report.json (#3687)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfunk authored Nov 5, 2024
1 parent ba14fc4 commit ea2a58d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ jobs:
if: env.RESULT == 'success' && steps.workflow-run-info.outputs.pullRequestNumber != ''
id: warning-report
run: |
if [ -f "ref_report/.report.json" ]; then
compare_args="--compare ref_report/.report.json"
if [ -f "ref_report/test-report.json" ]; then
compare_args="--compare ref_report/test-report.json"
fi
report_str=$(python scripts/format_warning_report.py PR_report/.report.json ${compare_args}) || true
report_str=$(python scripts/format_warning_report.py PR_report/test-report.json ${compare_args}) || true
echo "report<<EOF" >> $GITHUB_OUTPUT
echo "${report_str}" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
Expand Down

0 comments on commit ea2a58d

Please sign in to comment.