Skip to content

Commit

Permalink
chore: add codecov config
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Apr 18, 2024
1 parent aa4c930 commit 61055cd
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
codecov:
require_ci_to_pass: true

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

status:
patch:
default:
# basic
target: auto
threshold: 100% # don't require patch to have coverage per se
base: auto

project:
default:
# basic
target: auto
threshold: 5%
base: auto
flags:
- unit
paths:
- 'src'

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

comment:
layout: 'reach,diff,flags,files,tree'
behavior: default
require_changes: false

0 comments on commit 61055cd

Please sign in to comment.