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

raravena80 / ya / 177
78%

Build:
DEFAULT BRANCH: main
Ran 20 Jan 2026 04:27AM UTC
Jobs 1
Files 9
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

20 Jan 2026 04:26AM UTC coverage: 90.453%. First build
177

push

circleci

web-flow
ci: Add goveralls coverage upload and improve test coverage (#55)

Add goveralls upload step to CircleCI for Coveralls integration.
Improve test coverage across all packages with comprehensive unit tests.

## Changes

### CI/CD
- Add goveralls coverage upload step to CircleCI
- Merge coverage profiles from all packages (was only saving last)
- Filter out main.go and test/ package from coverage report
- Add go:nocovline comments for hard-to-test paths (os.Exit, SSH errors)

### Test Coverage Improvements

**common package (91.8% coverage)**
- Add tests for SetKnownHosts and SetInsecureHost options

**ops package (92.7% coverage)**
- Add unit tests for copy.go helper functions (sendEndDir, sendDir, sendByte, processError)
- Add error path tests for cmd.go and copy.go
- Add tests for executeCmd and executeCopy error scenarios

**cmd package (85.5% coverage)**
- Add tests for RootCmd, SSH command, and SCP command
- Test command structure, flags, and argument validation
- Test initConfig() function
- Test Run functions and command initialization

Signed-off-by: Ricardo Aravena <raravena80@gmail.com>

6 of 12 new or added lines in 4 files covered. (50.0%)

379 of 419 relevant lines covered (90.45%)

1.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
76.92
ops/cmd.go
2
71.15
cmd/root.go
3
86.29
ops/copy.go
Jobs
ID Job ID Ran Files Coverage
1 177.1 20 Jan 2026 04:27AM UTC 9
90.45
CircleCI Job
Source Files on build 177
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #177
  • b845dc5a on github
  • Next Build on main (#181)
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