always report coverage diff (#15354)

This commit is contained in:
Kyle Altendorf 2023-05-23 15:25:30 -04:00 committed by GitHub
parent d1e10ea920
commit 6e92b06912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,10 @@ jobs:
run: |
set -o pipefail
diff-cover --compare-branch=${{ env.compare-branch }} --fail-under=100 --html-report=coverage-reports/diff-cover.html --markdown-report=coverage-reports/diff-cover.md coverage-reports/coverage.xml | tee coverage-reports/diff-cover-stdout
- name: Add diff coverage report to workflow summary
if: always()
run: |
cat coverage-reports/diff-cover.md >> $GITHUB_STEP_SUMMARY
- name: Publish coverage reports