-
Notifications
You must be signed in to change notification settings - Fork 81
/
codecov.yml
184 lines (166 loc) · 6.14 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
codecov:
branch: develop
token: c0cc9048-1cdc-464b-b2fa-dac79464e1c4
notify:
require_ci_to_pass: no
coverage:
precision: 2
round: down
range: "70...100"
status: # this controls whether a pull request will be blocked by a decrease in coverage
project:
default:
# threshold: 1% # allows coverage to drop by up to the percent noted and still post a success status
informational: true # If true is specified the resulting status will pass no matter what the coverage is or what other settings are specified
patch:
default:
# threshold: 1% # allows coverage to drop by up to the percent noted and still post a success status
informational: true # If true is specified the resulting status will pass no matter what the coverage is or what other settings are specified
changes:
default:
# threshold: 1% # allows coverage to drop by up to the percent noted and still post a success status
informational: true # If true is specified the resulting status will pass no matter what the coverage is or what other settings are specified
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment: false # if top level key is false, suppresses all comments
# layout: "header, flags, files"
# behavior: default
# require_changes: true # if true, suppresses comment when coverage is unchanged
# Available parameters:
# codecov:
# token: uuid # Your private repository token
# url: "http" # for Codecov Enterprise customers
# slug: "owner/repo" # for Codecov Enterprise customers
# branch: master # override the default branch
# bot: username # set user whom will be the consumer of oauth requests
# ci: # Custom CI domains if Codecov does not identify them automatically
# - ci.domain.com
# - !provider # ignore these providers when checking if CI passed
# # ex. You may test on Travis, Circle, and AppVeyor, but only need
# # to check if Travis passes. Therefore add: !circle and !appveyor
# notify: # ADVANCED USE ONLY
# after_n_builds: null # number of expected builds to recieve before sending notifications
# # after: check ci status unless disabled via require_ci_to_pass
# require_ci_to_pass: yes # yes: will delay sending notifications until all ci is finished
# # no: will send notifications without checking ci status and wait till "after_n_builds" are uploaded
# countdown: null # number of seconds to wait before first ci build check
# delay: null # number of seconds to wait between ci build checks
# coverage:
# precision: 2 # 2 = xx.xx%, 0 = xx%
# round: down|up|nearest # default down
# range: 50...60 # default 70...90. red...green
# notify:
# irc:
# default:
# server: "chat.freenode.net"|encrypted
# branches: null # all branches by default
# threshold: 1%
# message: "Coverage {{changed}} for {{owner}}/{{repo}}" # customize the message
# flags: null
# paths: null
# slack:
# default:
# url: "http"|encrypted
# threshold: 1%
# branches: null # all branches by default
# message: "Coverage {{changed}} for {{owner}}/{{repo}}" # customize the message
# attachments: "sunburst, diff"
# only_pulls: false
# flags: null
# paths: null
# email:
# default:
# to:
# - example@domain.com
# - &author
# threshold: 1%
# only_pulls: false
# layout: header, diff, trends
# flags: null
# paths: null
# hipchat:
# default:
# url: "http"|encrypted
# room: name|id
# threshold: 1%
# token: encrypted
# branches: null # all branches by default
# notify: false # if the hipchat message is silent or loud (default false)
# message: "Coverage {{changed}} for {{owner}}/{{repo}}" # customize the message
# flags: null
# paths: null
# gitter:
# url: "http"|encrypted
# threshold: 1%
# branches: null # all branches by default
# message: "Coverage {{changed}} for {{owner}}/{{repo}}" # customize the message
# webhooks:
# _name_:
# url: "http"|encrypted
# threshold: 1%
# branches: null # all branches by default
# status:
# project:
# default:
# against: parent
# target: auto
# threshold: 1% # the amount that coverage can drop while still posting a success
# branches:
# - master
# if_no_uploads: error
# if_not_found: success
# if_ci_failed: error
# only_pulls: false
# flags:
# - integration
# paths:
# - folder
# patch:
# default:
# against: parent
# target: 80%
# branches: null
# if_no_uploads: success
# if_not_found: success
# if_ci_failed: error
# only_pulls: false
# flags:
# - integration
# paths:
# - folder
# changes:
# default:
# against: parent
# branches: null
# if_no_uploads: error
# if_not_found: success
# if_ci_failed: error
# only_pulls: false
# flags:
# - integration
# paths:
# - folder
# flags:
# integration:
# branches:
# - master
# ignore:
# - app/ui
# ignore: # files and folders for processing
# - tests/*
#
# fixes:
# - "old_path::new_path"
# comment:
# layout: header, diff, trends, uncovered
# branches: *
# behavior: default # default = posts once then update, posts new if delete
# # once = post once then updates
# # new = delete old, post new
# # spammy = post new
# require_changes: no # whether codecov will post a comment requiring changes if a PR doesn't meet the minimum coverage threshold