• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / gpu-operator / 40221015282
37%
main: 37%

Build:
Build:
LAST BUILD BRANCH: pull-request/2427
DEFAULT BRANCH: main
Ran 25 Oct 2026 06:35PM UTC
Jobs 1
Files 125
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Oct 2026 06:23PM UTC coverage: 36.719%. Remained the same
40221015282

push

github

giuliocalzo
ci: add helm chart-testing and unittest workflow

Adds a `helm` GitHub Actions workflow that runs `ct lint` and
`helm-unittest` against the gpu-operator chart on PRs that touch
`deployments/`, plus a unit-test suite (with snapshots) covering the
chart's core templates so chart regressions are caught in CI.

Workflow:
- `lint` job runs `ct lint` (with `--validate-maintainers=false` since
  the chart doesn't declare maintainers) using `CHART_DIR=deployments`.
- `unittest` job installs `helm-unittest v1.0.3` and runs
  `helm unittest deployments/gpu-operator`.
- Triggers only on PRs that change `deployments/gpu-operator/**`.

Tests cover: operator deployment, ClusterPolicy, RBAC, NodeFeatureRules,
NvidiaDriver, MIG/DCGM/device-plugin custom configs, cleanup and upgrade
CRD hooks, OpenShift readonly-fs SCC, extra objects, and input
validations. Snapshots are committed under `__snapshot__/`.

The ClusterPolicy, operator Deployment and NVIDIADriver suites load
`tests/values/pinned_versions.yaml`, which replaces every operand image
version with `pinned`. Renovate opens its values.yaml version bumps with
GITHUB_TOKEN, and PRs opened with that token do not trigger workflows,
so snapshots of the real versions would go stale on main and fail the
next unrelated chart PR. A "renders only pinned image versions" test in
each of those suites fails when a rendered image version is not pinned.

Also:
- Fix yamllint comment-spacing in `values.yaml` so `ct lint` passes.
- Add `tests/` to `.helmignore` so unittest fixtures and snapshots are
  excluded from the packaged chart.

Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>

5915 of 16109 relevant lines covered (36.72%)

0.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40221015282.1 25 Oct 2026 06:35PM UTC 125
36.72
GitHub Action Run
Source Files on build 40221015282
  • Tree
  • List 125
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40221015282
  • 7463d1bd on github
  • Prev Build on main (#40039387176)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc