Skip to content

Commit 3e8446a

Browse files
Initial standard codecov config
1 parent 93d56fb commit 3e8446a

1 file changed

Lines changed: 55 additions & 28 deletions

File tree

.codecov.yml

Lines changed: 55 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,61 @@
1-
codecov:
2-
require_ci_to_pass: false
1+
# ignore:
2+
# - "lib/tests/"
3+
# - "lib/dev-tools/"
4+
# - "lib/avl.c"
5+
# - "lib/subprojects/**/*"
6+
37
comment:
4-
layout: "diff, flags, files"
5-
fixes:
6-
- "tskit/::python/tskit/"
7-
flag_management:
8-
individual_flags:
9-
- name: python-tests
8+
layout: "header, diff, flags, components" # show component info in the PR comment
9+
10+
component_management:
11+
individual_components:
12+
- component_id: python_code
13+
name: Python API
1014
paths:
1115
- python/tskit/*.py
12-
statuses:
13-
- type: project
14-
target: 95%
15-
- name: python-c-tests
16+
17+
- component_id: python_c_code
18+
name: Python C interface
1619
paths:
1720
- python/_tskitmodule.c
18-
statuses:
19-
- type: project
20-
target: 85%
21-
- name: c-tests
21+
22+
- component_id: c_code
23+
name: C library
2224
paths:
23-
- c/tskit/*.c
24-
- c/tskit/*.h
25-
statuses:
26-
- type: project
27-
target: 85%
28-
- name: lwt-tests
29-
paths:
30-
- python/lwt_interface/*.c
31-
- python/lwt_interface/*.h
32-
statuses:
33-
- type: project
34-
target: 80%
25+
- c
26+
27+
#
28+
# codecov:
29+
# require_ci_to_pass: false
30+
# comment:
31+
# layout: "diff, flags, files"
32+
# fixes:
33+
# - "tskit/::python/tskit/"
34+
# flag_management:
35+
# individual_flags:
36+
# - name: python-tests
37+
# paths:
38+
# - python/tskit/*.py
39+
# statuses:
40+
# - type: project
41+
# target: 95%
42+
# - name: python-c-tests
43+
# paths:
44+
# - python/_tskitmodule.c
45+
# statuses:
46+
# - type: project
47+
# target: 85%
48+
# - name: c-tests
49+
# paths:
50+
# - c/tskit/*.c
51+
# - c/tskit/*.h
52+
# statuses:
53+
# - type: project
54+
# target: 85%
55+
# - name: lwt-tests
56+
# paths:
57+
# - python/lwt_interface/*.c
58+
# - python/lwt_interface/*.h
59+
# statuses:
60+
# - type: project
61+
# target: 80%

0 commit comments

Comments
 (0)