From 372d084fe93e007db7090693c7becf60202352a1 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 22 Sep 2021 21:51:30 -0500 Subject: [PATCH] Add configuration for Codecov --- .gitattributes | 3 +-- codecov.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/.gitattributes b/.gitattributes index a3066a5..ae09278 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..047a8a9 --- /dev/null +++ b/codecov.yml @@ -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