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 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 }