forked from reanahub/reana-client-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds desired targets and threshold values for code coverage tests in pull requests. Removes custom code coverage range to fall back to codecov defaults.
- Loading branch information
1 parent
8cb7b1e
commit c3e257b
Showing
1 changed file
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
codecov: | ||
require_ci_to_pass: yes | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "80...100" | ||
status: | ||
patch: | ||
default: | ||
informational: true | ||
project: | ||
default: | ||
base: auto | ||
target: auto | ||
threshold: 2% | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
comment: | ||
layout: "reach,diff,flags,tree" | ||
behavior: default | ||
require_changes: no | ||
layout: "reach,diff,flags,tree" | ||
behavior: default | ||
require_changes: no |