-
Notifications
You must be signed in to change notification settings - Fork 35
37 lines (33 loc) · 1.32 KB
/
coverage.yml
File metadata and controls
37 lines (33 loc) · 1.32 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
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
# TODO(nvmath-python CI): Implement the nvmath-python coverage workflow.
#
# The previous contents of this file were copied from cuda-python and ran
# three parallel coverage passes against `cuda_bindings/tests`,
# `cuda_core/tests`, and `cuda_pathfinder/tests`, each with its own
# `pyproject.toml`. nvmath-python has a single `tests/` directory, so this
# collapses to one coverage pass.
#
# What this workflow needs to do (follow-up implementation):
# 1. Install nvmath-python with a suitable CTK extra (e.g., [cu13]).
# 2. Run `pytest --cov=nvmath tests/nvmath_tests/` (or a subset per the
# CSV matrix embedded in ci.yml).
# 3. Upload the coverage report somewhere (Codecov, GitHub artifact, etc.).
#
# Gate this workflow on the same triggers cuda-python used (schedule / manual)
# once implemented.
name: "CI: Coverage"
on:
workflow_dispatch:
# schedule:
# # every 24 hours at midnight UTC
# - cron: "0 0 * * *"
jobs:
coverage:
name: Coverage (TODO)
runs-on: ubuntu-latest
steps:
- name: TODO — implement nvmath-python coverage pass
run: |
echo "::warning::coverage.yml is a stub. Implement single-package coverage for nvmath-python."