diff --git a/.github/actions/upload-coverage/action.yml b/.github/actions/upload-coverage/action.yml index 2dbc4ba7..3bd6db5f 100644 --- a/.github/actions/upload-coverage/action.yml +++ b/.github/actions/upload-coverage/action.yml @@ -9,7 +9,7 @@ runs: COVERAGE_UUID=$(python3 -c "import uuid; print(uuid.uuid4())") echo "COVERAGE_UUID=${COVERAGE_UUID}" >> $GITHUB_OUTPUT if [ -f .coverage ]; then - mv .coverage .coverage.${COVERAGE_UUID} + mv .coverage coverage.${COVERAGE_UUID} fi id: coverage-uuid shell: bash @@ -17,5 +17,5 @@ runs: with: name: coverage-data-${{ steps.coverage-uuid.outputs.COVERAGE_UUID }} path: | - .coverage.* + coverage.* if-no-files-found: ignore diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99e039dc..c18b3875 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,7 @@ jobs: id: combinecoverage run: | set +e - python -m coverage combine + python -m coverage combine coverage.* echo "## Python Coverage" >> $GITHUB_STEP_SUMMARY python -m coverage report -m --fail-under=98 > COV_REPORT COV_EXIT_CODE=$?