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

nvidia-holoscan / holoscan-cli / 28579343741
77%
main: 77%

Build:
Build:
LAST BUILD BRANCH: pull-request/193
DEFAULT BRANCH: main
Ran 02 Jul 2026 09:21AM UTC
Jobs 1
Files 35
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

02 Jul 2026 09:20AM UTC coverage: 77.077% (-0.2%) from 77.248%
28579343741

Pull #193

github

wyli
fix: harden setup elevation and Kitware repo flow (review feedback)

Address three CodeRabbit findings on the setup path:

- io.py: `--dryrun` no longer requires sudo to be installed. When sudo is
  missing on a non-root host, dry-run prints the would-be `sudo ...`
  command instead of exiting; real execution still fails with the clear
  actionable message. Adds unit tests for both paths and for the
  run-directly-as-root case.

- host_setup.py: fetch and dearmor the Kitware key as two separate
  subprocess steps instead of a `wget | gpg` shell pipeline, so a download
  failure cannot be masked by the pipeline's exit status and install an
  empty keyring (also removes shell=True).

- host_setup.py: force `apt-get update` after adding the Kitware apt
  source. `_apt_updated` may already be true from an earlier step, which
  made install_packages_if_missing skip the refresh and miss Kitware's
  cmake packages.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #193: fix: install CLI in one env and elevate only per-operation

31 of 71 new or added lines in 3 files covered. (43.66%)

3 existing lines in 2 files now uncovered.

2969 of 3852 relevant lines covered (77.08%)

0.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
47.06
-4.89% src/holoscan_cli/utils/host_setup.py
14
28.0
0.41% src/holoscan_cli/commands/setup_cmd.py
5
75.21
10.03% src/holoscan_cli/utils/io.py

Coverage Regressions

Lines Coverage ∆ File
2
28.0
0.41% src/holoscan_cli/commands/setup_cmd.py
1
47.06
-4.89% src/holoscan_cli/utils/host_setup.py
Jobs
ID Job ID Ran Files Coverage
1 28579343741.1 02 Jul 2026 09:21AM UTC 35
77.08
GitHub Action Run
Source Files on build 28579343741
  • Tree
  • List 35
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28579343741
  • Pull Request #193
  • PR Base - main (#28577363279)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc