From 73fb4d3f0e493c77a09fd73717da851950424845 Mon Sep 17 00:00:00 2001 From: Christopher Kormanyos Date: Fri, 19 Jan 2024 08:16:44 +0100 Subject: [PATCH] Increase CodeCov tolerances on push etc --- .codecov.yml | 24 ------------------------ codecov.yml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 24 deletions(-) delete mode 100644 .codecov.yml create mode 100644 codecov.yml diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 3b2e997a..00000000 --- a/.codecov.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2019 - 2021 Alexander Grund -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) -# -# Sample codecov configuration file. Edit as required - -codecov: - max_report_age: off - require_ci_to_pass: yes - notify: - # Increase this if you have multiple coverage collection jobs - after_n_builds: 1 - wait_for_ci: yes - -# Change how pull request comments look -comment: - layout: "reach,diff,flags,files,footer" - -# Ignore specific files or folders. Glob patterns are supported. -# See https://docs.codecov.com/docs/ignoring-paths -ignore: - - extra/**/* - - config/**/* - - performance/**/* diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..f502a9b6 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,32 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 1 + round: up + range: '50...100' + status: + project: + default: # This can be anything, but it needs to exist as the name + # basic settings + target: 75% + threshold: 10% + if_ci_failed: error #success, failure, error, ignore + only_pulls: false + patch: + default: + target: 75% + threshold: 25% + +parsers: + gcov: + branch_detection: + conditional: no + loop: no + method: no + macro: no + +comment: + layout: 'reach,diff,flags,files,footer' + behavior: default + require_changes: no