1# config for codecov, see https://codecov.io/gh/obspy/obspy/settings/yaml
2
3coverage:
4  status:
5
6    # set commit status if relative change of whole project coverage
7    # exceeds threshold
8    project:
9      default:
10        target: auto
11        threshold: 0
12        set_pending: yes
13        if_no_uploads: error
14        if_not_found: error
15        if_ci_failed: error
16
17    # set commit status, if coverage of diff is below target threshold
18    patch:
19      default:
20        target: 90
21        set_pending: yes
22        base: auto
23        if_no_uploads: error
24        if_not_found: error
25        if_ci_failed: error
26
27    # not exactly sure in what cases this commit status is triggered..
28    changes:
29      default:
30        enabled: no
31
32# no comments in PRs
33comment: off
34