Skip to content

Commit

Permalink
ci: Fix ci error on create summary
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Dec 19, 2023
1 parent 6f5ef8d commit f317740
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ jobs:
echo "$package_name line-rate: $line_rate"
done)
echo "Coverage Summary: $coverage_summary"
# echo "::set-output name=summary::$coverage_summary"
echo "summary=$coverage_summary" >> $GITHUB_OUTPUT
echo "::set-output name=summary::$coverage_summary"
- name: Generate test report summary
if: matrix.os == 'ubuntu-latest'
Expand All @@ -74,8 +73,7 @@ jobs:
skipped=$(grep -oP 'skipped="\K\d+' $test_file)
test_summary="Total tests: $total_tests, Failures: $failures, Skipped: $skipped"
echo "Test Summary: $test_summary"
# echo "::set-output name=summary::$test_summary"
echo "summary=$test_summary" >> $GITHUB_OUTPUT
echo "::set-output name=summary::$test_summary"
- name: Comment PR with coverage and test report
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit f317740

Please sign in to comment.