mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2025-01-06 04:07:16 +03:00
fail for under 100% diff coverage (#15080)
This commit is contained in:
parent
6843bba7c0
commit
b493498204
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -147,7 +147,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
compare-branch: ${{ github.base_ref == '' && github.event.before || format('origin/{0}', github.base_ref) }}
|
compare-branch: ${{ github.base_ref == '' && github.event.before || format('origin/{0}', github.base_ref) }}
|
||||||
run: |
|
run: |
|
||||||
diff-cover --compare-branch=${{ env.compare-branch }} --html-report coverage-reports/diff-cover.html --markdown-report coverage-reports/diff-cover.md coverage-reports/coverage.xml | tee coverage-reports/diff-cover-stdout
|
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
|
||||||
cat coverage-reports/diff-cover.md >> $GITHUB_STEP_SUMMARY
|
cat coverage-reports/diff-cover.md >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: Publish coverage reports
|
- name: Publish coverage reports
|
||||||
|
Loading…
Reference in New Issue
Block a user