From 9cf1577e4cafd26c5ddea8bc6ff48732c1de523b Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Fri, 6 Aug 2021 09:19:15 -0400 Subject: [PATCH] Code cov config --- codecov.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..d921774 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,41 @@ +# Reference: https://docs.codecov.com/docs/codecovyml-reference +# ---------------------- +codecov: + require_ci_to_pass: true + +# Coverage configuration +# ---------------------- +coverage: + status: + patch: false + range: 70..90 # First number represents red, and second represents green + # (default is 70..100) + round: down # up, down, or nearest + precision: 2 # Number of decimal places, between 0 and 5 + +# Ignoring Paths +# -------------- +# which folders/files to ignore +ignore: + - "*/.make/.*" + - "*/.github/.*" + - "*/examples/.*" + +# Parsers +# -------------- +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +# Pull request comments: +# ---------------------- +# Diff is the Coverage Diff of the pull request. +# Files are the files impacted by the pull request +comment: + layout: "reach,diff,flags,files,footer" + behavior: default + require_changes: false \ No newline at end of file