-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathcodecov.yml
More file actions
61 lines (55 loc) · 2.02 KB
/
Copy pathcodecov.yml
File metadata and controls
61 lines (55 loc) · 2.02 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
60
61
codecov:
# Coverage artifacts are generated in CI and never committed. The default
# 12h max_report_age guard (against checked-in stale reports) is therefore
# unnecessary. Keep it off so Codecov still accepts old-but-valid Gradle
# build-cache hits: when Android unit-test inputs are unchanged, Gradle
# restores Jacoco *.exec (and thus sessioninfo timestamps) from cache
# instead of re-running tests; content still matches current sources, and
# Gradle will re-run when those inputs change.
# https://docs.codecov.com/docs/codecov-yaml#section-expired-reports
max_report_age: off
notify:
require_ci_to_pass: true
coverage:
round: up
range: '40...100'
status:
project:
default:
informational: true
patch: true
changes: no
# Intractable RN codegen dead path: GenerateModuleCpp emits *JSI-generated.cpp /
# *JSI.h (CxxSpecJSI + __hostFunction_*) beside the ObjC++ SpecJSI *-generated.mm
# that e2e actually exercises. Podspecs compile ios/**/*.cpp so the C++ file is
# instrumented and reported in LCOV at 0% forever — nothing constructs *CxxSpecJSI.
# Same files exist under android/**/generated/**; ignore both. Do not chase tests
# unless modules move to pure C++ TurboModules. Matching *JSI.h is header-only
# companion noise. OKF: coverage-design.md acceptable exceptions / codegen gaps.
# https://docs.codecov.com/docs/ignoring-paths
ignore:
- '**/*JSI-generated.cpp'
- '**/*JSI.h'
comment:
layout: 'header, diff, flags'
behavior: default
require_changes: false
after_n_builds: 3
# Native upload gates. Flag names must match codecov-action `flags:` in CI workflows
# (see okf-bundle/testing/coverage-design.md).
flag_management:
individual_flags:
- name: ios-native
carryforward: false
statuses:
- type: project
target: 1%
threshold: 0%
informational: false
- name: android-native
carryforward: false
statuses:
- type: project
target: 1%
threshold: 0%
informational: false