File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,14 @@ jobs:
367367 echo "Warning: No coverage file generated"
368368 fi
369369
370+ - name : Per-version coverage summary
371+ if : steps.test-unit.outputs.coverage_generated == 'true'
372+ env :
373+ PYTHON_VERSION : ${{ matrix.python-version }}
374+ run : |
375+ echo "## Python ${PYTHON_VERSION} Coverage" >> $GITHUB_STEP_SUMMARY
376+ poetry run coverage report --data-file=coverage/.coverage.${PYTHON_VERSION} --format=markdown >> $GITHUB_STEP_SUMMARY
377+
370378 - name : Upload test results to Codecov (these are results not coverage reports)
371379 if : ${{ !cancelled() }}
372380 uses : codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1
@@ -382,13 +390,6 @@ jobs:
382390 files : ./coverage/coverage-${{ matrix.python-version }}.xml
383391 fail_ci_if_error : ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' }}
384392
385- - name : Per-version coverage summary
386- if : steps.test-unit.outputs.coverage_generated == 'true'
387- env :
388- PYTHON_VERSION : ${{ matrix.python-version }}
389- run : |
390- echo "## Python ${PYTHON_VERSION} Coverage" >> $GITHUB_STEP_SUMMARY
391- poetry run coverage report --data-file=coverage/.coverage.${PYTHON_VERSION} --format=markdown >> $GITHUB_STEP_SUMMARY
392393 audit-prod :
393394 name : Audit - Production
394395 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments