Skip to content

Commit

Permalink
chore: configure codecov reporting (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 authored Nov 4, 2020
1 parent f4a72c5 commit 2814365
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
29 changes: 17 additions & 12 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
comment: on
codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: '50...100'

parsers:
javascript:
enable_partials: yes
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

coverage:
status:
project:
default:
threshold: 4%
if_not_found: success
patch:
default:
if_not_found: success
comment:
layout: 'reach,diff,flags,files,footer'
behavior: default
require_changes: no
12 changes: 7 additions & 5 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"all": true,
"include": [
"packages/**"
],
"reporter": [
"html",
"json",
"cobertura"
"html",
"json",
"cobertura"
],
"source-map": true,
"exclude-after-remap": false
}
}

0 comments on commit 2814365

Please sign in to comment.