diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 0000000..c62bedf --- /dev/null +++ b/.github/codecov.yml @@ -0,0 +1,9 @@ +coverage: + status: + project: + default: + threshold: 0.5% + removed_code_behavior: fully_covered_patch + patch: + default: + target: 80 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 361c6c9..0253683 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,8 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: - file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false + verbose: true