forked from napari/napari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
38 lines (38 loc) · 911 Bytes
/
codecov.yml
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
ignore:
- napari/_version.py
- napari/resources
- napari/benchmarks
coverage:
status:
project:
default: false
library:
target: auto
paths: ['!.*/_tests/.*']
threshold: 1%
qt:
target: auto
paths: ['napari/_qt/.*', '!.*/_tests/.*']
threshold: 1%
layers:
target: auto
paths: [ 'napari/layers/.*', '!.*/_tests/.*' ]
threshold: 1%
utils:
target: auto
paths: [ 'napari/utils/.*', '!.*/_tests/.*' ]
threshold: 2%
tests:
target: auto
paths: ['.*/_tests/.*']
threshold: 1% # coverage can drop by up to 1% while still posting success
patch:
default:
threshold: 1%
target: 0%
codecov:
notify:
after_n_builds: 1
comment:
require_changes: true # if true: only post the PR comment if coverage changes
after_n_builds: 1