-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.codecov.yml
More file actions
59 lines (53 loc) · 1.38 KB
/
.codecov.yml
File metadata and controls
59 lines (53 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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)
codecov:
max_report_age: off
require_ci_to_pass: yes
notify:
# Three coverage builds: Linux (GCC), macOS (Apple-Clang), Windows (MinGW)
after_n_builds: 3
wait_for_ci: yes
# Fix paths from CI build to match repository structure
# Linux (lcov) paths: /home/runner/.../boost-root/libs/corosio/include/...
# macOS/Windows (gcovr -r boost-root) paths: libs/corosio/include/...
# Codecov applies fixes in order, first match wins.
fixes:
- "boost-root/libs/corosio/::"
- "libs/corosio/::"
# Make coverage checks informational (report but never fail CI)
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
# Change how pull request comments look
comment:
layout: "reach,diff,flags,files,footer"
# Per-platform coverage flags
flags:
linux:
paths:
- include/
- src/
carryforward: true
macos:
paths:
- include/
- src/
carryforward: true
windows:
paths:
- include/
- src/
carryforward: true
# Ignore specific files or folders. Glob patterns are supported.
# See https://docs.codecov.com/docs/ignoring-paths
ignore:
- extra/*
- extra/**/*
- test/*
- test/**/*