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

NVIDIA / gpu-operator / 35140577486
46%
main: 44%

Build:
Build:
LAST BUILD BRANCH: pull-request/2942
DEFAULT BRANCH: main
Ran 16 Sep 2026 07:33PM UTC
Jobs 1
Files 75
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

16 Sep 2026 07:24PM UTC coverage: 45.593% (+1.1%) from 44.49%
35140577486

push

github

abrarshivani
Add unit tests for the gpuop-cfg config validators

Cover the remaining gaps in cmd/gpuop-cfg/validate: the operand walk in
clusterpolicy.validateImages, the deployment and env-var branches in
csv.validateImages, both ManifestGet outcomes in validateImage, and the
CLI Before/Action closures that were previously never invoked.

The registry client is constructed inline with no injection seam, so the
tests drive it through regclient's ocidir scheme against an OCI layout
written into t.TempDir(). That exercises the validator's own control flow
without a socket. The registry transport itself stays untested.

Each of the eleven operands resolves at its own tag, so an error naming a
tag names the operand whose field produced it. Dropping an operand's block,
duplicating another over it, or reading the wrong spec field all fail the
corresponding case.

clusterpolicy 26.7% -> 100%, csv 55.4% -> 100%.

Signed-off-by: Abrar Shivani <ashivani@nvidia.com>

5912 of 12967 relevant lines covered (45.59%)

0.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35140577486.1 16 Sep 2026 07:33PM UTC 75
45.59
GitHub Action Run
Source Files on build 35140577486
  • Tree
  • List 75
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35140577486
  • 71b4ae1b on github
  • Prev Build on main (#35117172677)
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