File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1919# This job performs all of the necessary checks
2020jobs :
2121 build :
22- permissions :
23- contents : write
2422 # Use the latest version of Ubuntu, MacOS, and Windows
2523 # Use the latest and most stable version of Python
2624 # Important: test coverage monitoring and reporting
10199 export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")
102100 echo "total=$TOTAL" >> $GITHUB_ENV
103101 echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY
104- CURRENT_GITHUB_STEP_SUMMARY="`` `\n$(cat coverage.txt)\n`` `"
102+ CURRENT_GITHUB_STEP_SUMMARY="\`\`\ `\n$(cat coverage.txt)\n\`\`\ `"
105103 echo "$CURRENT_GITHUB_STEP_SUMMARY" >> $GITHUB_STEP_SUMMARY
106104 # Upload the coverage badge
107105 # Important: only report the monitored test coverage on Linux
You can’t perform that action at this time.
0 commit comments