forked from adobe/aepsdk-optimize-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
66 lines (52 loc) · 1.85 KB
/
codecov.yml
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
60
61
62
63
64
65
66
# For more Codecov configuration details, see https://docs.codecov.io/docs/codecovyml-reference
# Validate yml by posting content to Codecov for analysis. Run below command on bash
# curl --data-binary @codecov.yml https://codecov.io/validate
codecov:
# Require CI to pass to show coverage, default yes
require_ci_to_pass: yes
notify:
# Codecov should wait for all CI statuses to complete, default yes
wait_for_ci: yes
coverage:
# Coverage precision range 0-5, default 2
precision: 2
# Direction to round the coverage value - up, down, nearest, default down
round: nearest
# Value range for red...green, default 70...100
range: "70...90"
status:
# Overall project coverage, compare against pull request base
project:
default:
# The required coverage value
target: 85%
# The leniency in hitting the target. Allow coverage to drop by X%
threshold: 5%
# Only measure lines adjusted in the pull request or single commit, if the commit in not in the pr
patch:
default:
# The required coverage value
target: 85%
# Allow coverage to drop by X%
threshold: 5%
changes: no
# Ignore specified paths, exclude files from being collected by Codecov
ignore:
- "./Tests/**/*"
parsers:
# How Codecov should parse branch coverage in gcov reports
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
# Pull request Codecov comment format.
# diff: coverage diff of the pull request
# files: a list of files impacted by the pull request (coverage changes, file is new or removed)
layout: "diff, files"
# Update Codecov comment, if exists. Otherwise post new
behavior: default
# If true, only post the Codecov comment if coverage changes
require_changes: false