From 5ef9da21011e649de931e1c98a18a2b5e9d595ee Mon Sep 17 00:00:00 2001 From: zkldi Date: Fri, 4 Jun 2021 21:23:32 +0100 Subject: [PATCH] add codecov.yml --- server/.github/codecov.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 server/.github/codecov.yml diff --git a/server/.github/codecov.yml b/server/.github/codecov.yml new file mode 100644 index 000000000..cc6848203 --- /dev/null +++ b/server/.github/codecov.yml @@ -0,0 +1,32 @@ +codecov: + require_ci_to_pass: yes + branch: develop + status: + project: + default: + target: 80 + threshold: 2% + base: auto + flags: + - unit + paths: + - "src" + # advanced settings + branches: + - master + if_ci_failed: error #success, failure, error, ignore + informational: false + only_pulls: false + +coverage: + precision: 2 + round: down + range: "50...100" + +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no