diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 757ca82..f12b64c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,6 +113,6 @@ jobs: name: coverage - uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false # optional (default = false) + fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) token: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..14f4f45 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,7 @@ +coverage: + status: + project: + default: + target: auto + # this allows a 1% drop from the previous base commit coverage + threshold: 1%