diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 55cc01c7..6c030f5d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,7 +47,8 @@ jobs: - uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml + file: coverage.xml flags: unittests + yml: codecov.yml name: py-${{ matrix.python-version }}-${{ matrix.os }} fail_ci_if_error: true diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 00000000..98cbf424 --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,24 @@ +codecov: + require_ci_to_pass: yes + branch: dev-3.x + +coverage: + precision: 2 + round: down + range: "80...100" + +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +comment: + layout: "reach,diff,flags,tree" + behavior: default + require_changes: no + branches: + - dev-3.x + after_n_builds: 6