Skip to content

Commit

Permalink
codecov: add threshold values
Browse files Browse the repository at this point in the history
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
tiborsimko committed Aug 8, 2023
1 parent 8cb7b1e commit c3e257b
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/codecov.yml
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

0 comments on commit c3e257b

Please sign in to comment.