summaryrefslogtreecommitdiffstats
path: root/.codecov.yml
blob: 512670b53f9851d5aa12b3fed6c00b3ae6eb0eb5 (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
41
42
43
44
45
46
47
48
49
50
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"

  notify:
    irc:
      default:
        server: "irc.libera.chat#scons"
        branches: master
        threshold: null
        message: "Coverage {{changed}} for {{owner}}/{{repo}}"  # customize the message
        flags: null
        paths: null

  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