forked from NVIDIA/NeMo-Relay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
141 lines (135 loc) · 4.06 KB
/
codecov.yml
File metadata and controls
141 lines (135 loc) · 4.06 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
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
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
codecov:
require_ci_to_pass: true
notify:
# Codecov counts one build per upload step in a full CI run:
# | Binding | Platforms that upload coverage | Uploads |
# |-------------|----------------------------------------------------------------------|---------|
# | Rust | linux-amd64, linux-arm64, macos-arm64, windows-amd64 | 4 |
# | Python | linux-amd64, linux-arm64, macos-arm64, windows-amd64, windows-arm64 | 5 |
# | Go | linux-amd64, linux-arm64, macos-arm64, windows-amd64, windows-arm64 | 5 |
# | Node.js | linux-amd64, linux-arm64, macos-arm64 | 3 |
# | WebAssembly | linux-amd64, linux-arm64, macos-arm64, windows-amd64, windows-arm64 | 5 |
# | Total | | 22 |
after_n_builds: 22
wait_for_ci: true
coverage:
round: nearest
precision: 2
range: "94...100"
status:
project:
default:
target: 88%
threshold: 0.5%
base: auto
if_ci_failed: error
patch:
default:
target: 90%
threshold: 5%
base: auto
if_ci_failed: error
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 0.5%
base: auto
if_ci_failed: error
individual_components:
- component_id: rust_runtime
name: Rust Runtime
paths:
- "crates/core/src"
- "crates/adaptive/src"
statuses:
- type: project
target: 95%
threshold: 0.5%
base: auto
if_ci_failed: error
- component_id: cli
name: CLI
paths:
- "crates/cli/src"
statuses:
- type: project
target: 88%
threshold: 0.5%
base: auto
if_ci_failed: error
- component_id: go_binding
name: Go Binding
paths:
- "go/nemo_flow"
- "crates/ffi/src"
statuses:
- type: project
target: 95%
threshold: 0.5%
base: auto
if_ci_failed: error
- component_id: python_binding
name: Python Binding
paths:
- "python/nemo_flow"
- "crates/python/src"
statuses:
- type: project
target: 95%
threshold: 0.5%
base: auto
if_ci_failed: error
- component_id: node_binding
name: Node Binding
paths:
- "crates/node/*.js"
statuses:
- type: project
target: 95%
threshold: 0.5%
base: auto
if_ci_failed: error
- component_id: wasm_binding
name: WebAssembly Binding
paths:
- "crates/wasm/wrappers/nodejs/*.js"
statuses:
- type: project
target: 84% # cannot be any higher due to internals
threshold: 0.5%
base: auto
if_ci_failed: error
comment:
after_n_builds: 22
layout: "header, diff, components, files, footer"
behavior: default
require_changes: false
require_base: false
require_head: false
github_checks:
annotations: false
ignore:
- "**/examples/**"
- "third_party/"
- "**/tests/**"
- "crates/cli/tests/"
# CLI TTY shells are exercised by smoke tests, but their prompt loops are
# intentionally split away from testable model modules.
- "crates/cli/src/plugins.rs"
- "crates/cli/src/setup.rs"
- "**/tests-js/**"
# The Node binding currently reports JS package coverage separately; exclude the
# native Rust bridge until we have direct Rust-side coverage for this crate.
- "crates/node/src/"
- "crates/node/coverage/"
- "target/"
- "**/*.d.ts"
- "**/*.pyi"
- "python/nemo_flow/lib_native*.dylib.dSYM/**"
# WebAssembly Rust wrappers are covered through wasm-pack execution and
# reported through generated package JavaScript coverage.
- "crates/wasm/src/"