diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 5698e6e..050dd71 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -30,5 +30,9 @@ jobs: uses: codecov/codecov-action@v4.0.1 with: verbose: true + exclude: | + 3rdparty/** + test/** + demo/** env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..d63d1ec --- /dev/null +++ b/codecov.yml @@ -0,0 +1,30 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: "70...100" + + status: + project: + default: + target: auto + threshold: 0% + base: auto + patch: + default: + target: auto + threshold: 0% + base: auto + +ignore: + - "3rdparty/**/*" + - "3rdparty/**" + - "test/**/*" + - "demo/**/*" + +comment: + layout: "reach,diff,flags,tree" + behavior: default + require_changes: false