Increase CodeCov tolerances on push etc

This commit is contained in:
Christopher Kormanyos
2024-01-19 08:16:44 +01:00
parent 19910ae9dc
commit 73fb4d3f0e
2 changed files with 32 additions and 24 deletions

View File

@@ -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/**/*

32
codecov.yml Normal file
View File

@@ -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