-
Notifications
You must be signed in to change notification settings - Fork 750
Expand file tree
/
Copy pathcodecov.yml
More file actions
80 lines (73 loc) · 2.66 KB
/
Copy pathcodecov.yml
File metadata and controls
80 lines (73 loc) · 2.66 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
# SPDX-FileCopyrightText: Copyright (c) 2023 - 2026 NVIDIA CORPORATION & AFFILIATES.
# SPDX-FileCopyrightText: All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Codecov behavior config, following the rapidsai/cudf + zarr shapes.
# Post a coverage summary comment on PRs. Kept low-noise: only when
# coverage actually changes, and only after the coverage upload(s) land.
comment:
layout: "diff, files"
behavior: default
require_changes: true # only comment when coverage changes vs base
coverage:
status:
# The in-repo Coverage job already gates the project total via
# --fail-under; a second gate here would just be a duplicate.
project: off
patch:
default:
target: auto
threshold: 5% # tolerance band so small diffs don't flip status
informational: true # diff coverage is a signal, never a blocker
# Flags let Codecov combine partial coverage uploads correctly. The PR
# Coverage job runs a testmon-selected subset, so without carryforward a
# PR that runs only a few tests would report artificially low coverage;
# carryforward reuses the last-known coverage for anything not re-run.
flags:
pr-core:
paths:
- physicsnemo/
carryforward: true
# Wait for coverage upload(s) before computing/notifying. Bump this as
# GPU / multi-GPU coverage uploads are added so no status reports early.
codecov:
notify:
after_n_builds: 1
wait_for_ci: true
# Per-subsystem coverage so under-tested modules are visible, not just a
# single repo-wide number.
component_management:
individual_components:
- component_id: models
paths:
- physicsnemo/models/**
- component_id: distributed
paths:
- physicsnemo/distributed/**
- physicsnemo/domain_parallel/**
- component_id: datapipes
paths:
- physicsnemo/datapipes/**
- component_id: mesh
paths:
- physicsnemo/mesh/**
- component_id: nn
paths:
- physicsnemo/nn/**
- component_id: diffusion
paths:
- physicsnemo/diffusion/**
github_checks:
# Paint uncovered changed lines directly onto the PR's Files view.
annotations: true