File: codecov.yml

package info (click to toggle)
napari 0.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,036 kB
  • sloc: python: 112,264; xml: 72; makefile: 44; sh: 5
file content (38 lines) | stat: -rw-r--r-- 923 bytes parent folder | download
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: ['src/napari/_qt/.*', '!.*/_tests/.*']
        threshold: 1%
      layers:
        target: auto
        paths: [ 'src/napari/layers/.*', '!.*/_tests/.*' ]
        threshold: 1%
      utils:
        target: auto
        paths: [ 'src/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