Skip to content

Commit 0cbdb7b

Browse files
committed
fix(ci): omit Cython .pxd and cyruntime.pxi from coverage reports
Signed-off-by: Rui Luo <ruluo@nvidia.com>
1 parent f687d34 commit 0cbdb7b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.coveragerc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ plugins = Cython.Coverage
1111
core = ctrace
1212
branch = False
1313
relative_files = True
14-
# Omits specific definition files that causes plugin errors
14+
# Cython.Coverage cannot FileReporter declaration files (no parent-.c walk for
15+
# .pxd) or includes whose generated .cpp is not beside the source
16+
# (cyruntime.pxi). Keep system/*.pxi and _lib/utils.pxi: those have a sibling
17+
# translation unit on the combine runner. Must be [run], not [report].
1518
omit =
16-
*/windll.pxd
17-
*/_lib/windll.pxd
18-
*/_lib/utils.pxd
19+
*/*.pxd
20+
*/cyruntime.pxi
1921

2022
[report]
2123
show_missing = true

0 commit comments

Comments
 (0)