Skip to content

Commit 2814365

Browse files
authored
chore: configure codecov reporting (#2032)
1 parent f4a72c5 commit 2814365

2 files changed

Lines changed: 24 additions & 17 deletions

File tree

.codecov.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
comment: on
1+
codecov:
2+
require_ci_to_pass: yes
3+
4+
coverage:
5+
precision: 2
6+
round: down
7+
range: '50...100'
28

39
parsers:
4-
javascript:
5-
enable_partials: yes
10+
gcov:
11+
branch_detection:
12+
conditional: yes
13+
loop: yes
14+
method: no
15+
macro: no
616

7-
coverage:
8-
status:
9-
project:
10-
default:
11-
threshold: 4%
12-
if_not_found: success
13-
patch:
14-
default:
15-
if_not_found: success
17+
comment:
18+
layout: 'reach,diff,flags,files,footer'
19+
behavior: default
20+
require_changes: no

.nycrc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
2-
"all": true,
2+
"include": [
3+
"packages/**"
4+
],
35
"reporter": [
4-
"html",
5-
"json",
6-
"cobertura"
6+
"html",
7+
"json",
8+
"cobertura"
79
],
810
"source-map": true,
911
"exclude-after-remap": false
10-
}
12+
}

0 commit comments

Comments
 (0)