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

map-services / fuel-prices-api / 25823832964
51%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 08:14PM 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

13 May 2026 08:13PM UTC coverage: 49.492% (-0.4%) from 49.863%
25823832964

push

github

web-flow
feat: add flexible refresh policies for API (#59)

* feat: add flexible refresh policies for API

Introduced a string-based `refresh` configuration to replace the boolean
`fullRefresh` flag. This allows for more granular control over data
synchronization.

- Supported values: `full`, `never`, `incremental`.
- Prevents fetching in CRON jobs when set to `never`.

```mermaid
graph LR
    A[Cron Job] --> B{ShouldRefresh?}
    B -- never --> C[Skip]
    B -- incremental --> D[Fetch Updates]
    B -- full --> E[Fetch All]
```

* refactor: simplify `ShouldRefresh` logic

Refactor the boolean check to return the result of the expression
directly, improving code readability.

4 of 24 new or added lines in 6 files covered. (16.67%)

730 of 1475 relevant lines covered (49.49%)

0.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
0.0% internal/cron.go
4
0.0
0.0% main.go
3
88.35
-1.08% internal/client_fetch.go
2
0.0
0.0% cmd/api_server.go
2
0.0
0.0% cmd/bootstrap.go
1
0.0
0.0% cmd/import.go
Jobs
ID Job ID Ran Files Coverage
1 25823832964.1 13 May 2026 08:14PM UTC 23
49.49
GitHub Action Run
Source Files on build 25823832964
  • Tree
  • List 23
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1cd958b1 on github
  • Prev Build on main (#25763148102)
  • Next Build on main (#25883995794)
  • 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