diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ae2442d..45165df 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -65,3 +65,5 @@ - name: codecov uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..168d733 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,22 @@ +codecov: + notify: + after_n_builds: 1 +coverage: + range: 70..100 + round: nearest + precision: 1 + status: + project: + default: + threshold: 5% + patch: + default: + threshold: 20% + target: 60% + ignore: + - "tests/*" +comment: + layout: "reach, diff, files" + behavior: once + after_n_builds: 1 + require_changes: true