Add configuration for Codecov

This commit is contained in:
Ben Ramsey
2021-09-22 21:51:30 -05:00
parent 8d6c144a37
commit 372d084fe9
2 changed files with 30 additions and 2 deletions
+1 -2
View File
@@ -1,9 +1,8 @@
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.travis.yml export-ignore
codecov.yml export-ignore
docs/ export-ignore
phpstan.neon export-ignore
phpunit.xml.dist export-ignore
resources/ export-ignore
tests/ export-ignore
+29
View File
@@ -0,0 +1,29 @@
codecov:
require_ci_to_pass: yes
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: auto
threshold: 0%
patch:
default:
target: auto
threshold: 0%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false