From f48f055372751b0f49c854f57c16dd95c7d97a3a Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 16 Oct 2023 05:29:10 -0500 Subject: [PATCH 1/2] Handle more coverage errors --- .github/actions/report-coverage/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/report-coverage/action.yml b/.github/actions/report-coverage/action.yml index b7e2b1b..ed0b5b8 100644 --- a/.github/actions/report-coverage/action.yml +++ b/.github/actions/report-coverage/action.yml @@ -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 From 454a33d622fc7584b8c148c25d3907e0686702cc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 10:29:25 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 21d42dc..d129289 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@jupyterlab/maintainer-tools", - "version": "0.24.1", - "private": true + "name": "@jupyterlab/maintainer-tools", + "version": "0.24.1", + "private": true }