Skip to content

Commit

Permalink
add coverage to envs
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jun 26, 2024
1 parent 246e184 commit 4c1b986
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ jobs:
with:
envs: |
- linux: py310-oldestdeps-cov-xdist
coverage: github
- linux: py310-xdist
- macos: py311-xdist
- linux: py311-cov-xdist
coverage: github
- linux: py311-downstreamdeps-cov-xdist
coverage: github
- linux: py312-nolegacypath-cov-xdist
Expand Down Expand Up @@ -59,10 +61,13 @@ jobs:
merge-multiple: true
- run: coverage xml
- run: diff-cover coverage.xml --compare-branch origin/${{ github.base_ref }} --markdown-report $GITHUB_STEP_SUMMARY
- run: echo "report=$(cat $GITHUB_STEP_SUMMARY)" >> $GITHUB_OUTPUT
- run: |
echo "report=$(cat $GITHUB_STEP_SUMMARY)" >> $GITHUB_OUTPUT
cat $GITHUB_STEP_SUMMARY
id: diff-coverage-report
- uses: thollander/[email protected]
with:
message: ${{ steps.diff-coverage-report.outputs.report }}
message: |
${{ steps.diff-coverage-report.outputs.report }}
pr_number: ${{ github.event.number }}
comment_tag: diff-coverage

0 comments on commit 4c1b986

Please sign in to comment.