Skip to content

Commit f040e38

Browse files
committed
Add code coverage support for Windows and linux platform
1 parent eec6988 commit f040e38

2 files changed

Lines changed: 352 additions & 25 deletions

File tree

.coveragerc

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
[report]
5-
show_missing = true
4+
[paths]
5+
source =
6+
cuda\
7+
cuda/
68

79
[run]
810
plugins = Cython.Coverage
911
core = ctrace
12+
branch = False
13+
relative_files = True
14+
# Omit Windows-specific definition file that causes plugin errors
15+
omit =
16+
*/windll.pxd
17+
*/_lib/windll.pxd
18+
19+
[report]
20+
show_missing = true
21+
precision = 2
22+
23+
[html]
24+
show_contexts = True

0 commit comments

Comments
 (0)