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

umputun / ralphex / 21204378184
79%

Build:
DEFAULT BRANCH: master
Ran 21 Jan 2026 09:35AM 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

21 Jan 2026 09:33AM UTC coverage: 74.719% (+1.4%) from 73.333%
21204378184

push

github

web-flow
feat: configurable colors (#7)

* feat: add ColorConfig struct and hex parsing

Add parseHexColor() function to parse hex color strings (#RRGGBB) into
RGB components. Add ColorConfig struct with 9 color fields for output
customization. Add Colors field to Config struct.

Related to configurable-colors plan.

* feat: add color parsing to config loader

- add tests for color config parsing (full, partial, invalid)
- add parseColors() method to parse hex colors from INI config
- use IgnoreInlineComment to allow # in color values
- convert hex colors to comma-separated RGB strings

Related to #20260121

* feat: add color defaults to embedded config

Related to configurable colors feature. Adds all 9 color settings to
the defaults/config file with hex values and explanatory comments.
Includes test to verify embedded defaults load with expected RGB values.

* feat: add SetColors and InitColors functions to progress package

- add ColorConfig struct to progress package for color configuration
- add SetColors() to apply configured colors from comma-separated RGB values
- add InitColors() to reset colors to defaults
- replace hardcoded color initializations with configurable defaults
- add parseRGB() helper to parse comma-separated RGB strings
- add tests for SetColors, InitColors, and color application

* feat: update main.go to use configured info color

- remove hardcoded infoColor from main.go
- add InfoColor() function to progress package
- call progress.SetColors() after config load
- all startup messages now use configured info color

* feat: verify acceptance criteria for configurable colors

- verified all 9 colors configurable via config
- verified defaults match original hardcoded values
- test suite passes, linter passes, coverage meets 80%+

* feat: complete configurable colors and move plan to completed

Related to configurable-colors feature

* fix: address code review findings

- add missing infoColor to TestSetColors save/restore block
- add T... (continued)

185 of 225 new or added lines in 3 files covered. (82.22%)

1398 of 1871 relevant lines covered (74.72%)

18.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.56
2.22% pkg/progress/progress.go
12
81.53
4.03% pkg/config/config.go
26
26.47
-1.33% cmd/ralphex/main.go
Jobs
ID Job ID Ran Files Coverage
1 21204378184.1 21 Jan 2026 09:34AM UTC 9
74.72
GitHub Action Run
Source Files on build 21204378184
  • Tree
  • List 9
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • acdbfe23 on github
  • Prev Build on master (#21202492321)
  • Next Build on master (#21204619906)
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