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

NVIDIA / holodeck / 20970742719
36%
main: 54%

Build:
Build:
LAST BUILD BRANCH: feat/571-test-coverage-phase3
DEFAULT BRANCH: main
Ran 13 Jan 2026 08:03PM UTC
Jobs 1
Files 26
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

13 Jan 2026 07:53PM UTC coverage: 36.39%. First build
20970742719

push

github

ArangoGutierrez
test: improve unit test coverage for CLI commands and cleanup package

This commit extends the test coverage work by adding comprehensive tests for:

CLI Commands:
- cmd/cli/cleanup: 11.8% → 82.4%
  - VPC ID argument validation
  - AWS region resolution (flag, AWS_REGION, AWS_DEFAULT_REGION)
  - Region fallback logic coverage

- cmd/cli/dryrun: 10.0% → 50.0%
  - Before hook error handling (missing/invalid envFile)
  - Unknown provider validation
  - SSH provider key file validation (missing, invalid format)

- cmd/cli/list: 13.8% → 37.9%
  - Non-existent cache directory handling
  - Empty cache directory handling
  - Invalid cache file handling
  - Non-YAML file filtering

- cmd/cli/status: 17.4% → 60.9%
  - Instance ID argument validation
  - Invalid/missing cache file handling

Package Tests:
- pkg/cleanup: 3.4% → 64.7%
  - GetTagValue success/error paths
  - DeleteVPCResources full workflow
  - Error paths for all resource types
  - VPC deletion retry logic

Infrastructure:
- pkg/testutil/mocks/aws.go: Added missing EC2 client methods
  - ModifyNetworkInterfaceAttribute
  - DescribeTags
  - DescribeInternetGateways
  - DescribeInstanceTypes
  - ReplaceRouteTableAssociation

Overall coverage improved from ~32% to 39.3%.

Ref: #571
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>

0 of 25 new or added lines in 1 file covered. (0.0%)

1135 of 3119 relevant lines covered (36.39%)

0.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
25
0.0
pkg/testutil/mocks/aws.go
Jobs
ID Job ID Ran Files Coverage
1 20970742719.1 13 Jan 2026 08:03PM UTC 26
36.39
GitHub Action Run
Source Files on build 20970742719
  • Tree
  • List 26
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20970742719
  • 30888fdc on github
  • Next Build on pull-request/585 (#20971241399)
  • Delete
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