From b82d7fe6f46592752608dab300771f107f670783 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:26:12 +0100 Subject: [PATCH] Add codecov config --- .codecov.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..00e92ef1 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,27 @@ +# Codecov settings +# After modifying this file, you can validate it, see https://api.codecov.io/validate + +codecov: + notify: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + # define the colour bar limits here (red...green) + range: "75...100" + + # diff type + status: + project: + default: + # fail if coverage below this: + target: '85%' + # fail if coverage drops by this much: + threshold: '2%' + patch: + default: + target: '85%' + +# turn off comments to pull requests +comment: false