From 4c1b986db8ba3b26ba24b4a17114bdcb6dbb9b70 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Wed, 26 Jun 2024 11:05:31 -0400 Subject: [PATCH] add coverage to envs --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16f6475b..acacf2ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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/actions-comment-pull-request@v2.5.0 with: - message: ${{ steps.diff-coverage-report.outputs.report }} + message: | + ${{ steps.diff-coverage-report.outputs.report }} pr_number: ${{ github.event.number }} comment_tag: diff-coverage