Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle more coverage errors #211

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/actions/report-coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ runs:
- name: Combine coverage & fail if it's <${{inputs.fail_under}}.
shell: bash
run: |
set -eux
python -Iim coverage combine || true
python -Im coverage html --skip-covered --skip-empty
python -Iim coverage html --skip-covered --skip-empty
# Report and write to summary.
python -Im coverage report | sed 's/^/ /' >> $GITHUB_STEP_SUMMARY
python -Iim coverage report | sed 's/^/ /' >> $GITHUB_STEP_SUMMARY
# Report again and fail if under threshold
python -Im coverage report --fail-under=${{inputs.fail_under}}
python -Iim coverage report --fail-under=${{inputs.fail_under}}
- name: Upload HTML report if check failed.
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@jupyterlab/maintainer-tools",
"version": "0.24.1",
"private": true
"name": "@jupyterlab/maintainer-tools",
"version": "0.24.1",
"private": true
}
Loading