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

rm-hull / fuel-prices-api / 23686308932
46%

Build:
DEFAULT BRANCH: main
Ran 28 Mar 2026 01:34PM UTC
Jobs 1
Files 23
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

28 Mar 2026 01:33PM UTC coverage: 46.079% (+19.1%) from 26.931%
23686308932

push

github

web-flow
chore: make API base URL configurable (#41)

* feat: make API base URL configurable

- Allow overriding the default API base URL using the
  `FUEL_PRICES_API_BASE_URL` environment variable.
- Added comprehensive unit tests for the fuel prices client to ensure
  robustness.

* refactor: improve test reliability and cleanup

- Replace `stdjson` with `json` for consistency.
- Add error handling for `json.Encoder`/`Decoder` and `w.Write` calls
  using `require.NoError`.
- Use `t.Setenv` for safer environment variable management in tests.

5 of 5 new or added lines in 1 file covered. (100.0%)

664 of 1441 relevant lines covered (46.08%)

0.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23686308932.1 28 Mar 2026 01:34PM UTC 23
46.08
GitHub Action Run
Source Files on build 23686308932
  • Tree
  • List 23
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9d6e42ca on github
  • Prev Build on main (#23685267418)
  • Next Build on main (#23784202855)
  • 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