-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcodecov.yml
62 lines (57 loc) · 1.44 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
ignore:
- "**/third_party/**"
- "**/Unit_Testing/**"
- "**/test/**"
- "**/androidTest/**"
- "gradlew"
codecov:
require_ci_to_pass: true
bot: "codecov-bot"
strict_yaml_branch: "master"
max_report_age: off
disable_default_path_fixes: false
notify:
after_n_builds: 1
wait_for_ci: true
coverage:
precision: 2
round: down
range: "0..100"
status:
default_rules:
flag_coverage_not_uploaded_behavior: include
project:
default:
target: 56%
# Note that code coverage requires the following tests to validate the whole codebase:
# * Android tests (from Android workflow)
# * Native tests (from Native workflow)
# * Shell script tests (from Code Analysis workflow)
# So, if not all workflows above were executed, then the code coverage is not valid, and thus it was added a threshold because of that.
threshold: 53%
if_ci_failed: error
informational: false
only_pulls: false
patch:
default:
target: auto
threshold: 100%
if_ci_failed: error
informational: false
only_pulls: false
parsers:
gcov:
branch_detection:
conditional: true
loop: true
method: false
macro: false
comment:
layout: "reach,diff,flags,tree"
behavior: "default"
require_changes: false
require_head: no
require_base: no
show_carryforward_flags: false
github_checks:
annotations: true