diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 96c52928d..48fedeecf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -51,7 +51,7 @@ jobs: su `id -un 1000` -c "./gradlew check" - name: Upload Coverage Report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..663ac6c91 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,15 @@ +coverage: + # displays different colors depending on below, between, or above the range + range: 50..90 + status: + project: + enabled: yes + default: + target: auto + # allows 5% coverage reduction without failing + threshold: 5% + patch: yes + changes: yes + +# disable comments in PRs +comment: yes \ No newline at end of file