summaryrefslogtreecommitdiff
path: root/.codecov.yml
blob: 9ea78f52069a125ffc50865ad24a390ca516fa48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
codecov:
  notify:
    # calculate coverge even when we fail
    require_ci_to_pass: no

ignore:
  # ignore test files in the source
  # this is redundant and should not be in the report anyways
  # because the coveragerc file ignores them
  - "*Test.py"
  - "setup.py"
  - "test_*"

coverage:
  precision: 2
  round: down
  range: "70...100"

  status:
    project:
      default:
        # compare against the current coverage 
        # that PR is attempt to merge to
        # don't consider a drop in coverage success
        target: auto
        threshold: null
        base: pr

    patch:
      default:
        # considering only the lines changed 
        # make sure all new lines in the PR are covered
        # to consider a success
        target: 100
        threshold: null
        base: pr

    changes: no

comment: off