From 5e0c028fd0fcb700585e62a3a6b69e5f4434ce46 Mon Sep 17 00:00:00 2001 From: sdarwin Date: Thu, 2 Dec 2021 12:26:51 -0600 Subject: [PATCH] Update code coverage settings: codecov.yml file - ignore dirs close #2352 --- .codecov.yml | 25 +++++++++++++++++++++++++ CHANGELOG.md | 1 + 2 files changed, 26 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..4e80d1ca --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,25 @@ +# 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/* + - extra/**/* + - test/* + - test/**/* diff --git a/CHANGELOG.md b/CHANGELOG.md index d3d77f8d..ee54f77d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Version XXX: * Add individual tests to CMake workflow. * Update CI to include gcc 11, clang 12, msvc 14.3. +* Update code coverage settings. --------------------------------------------------------------------------------