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

map-services / gps-routes-api / 38805603627
54%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 08:55PM UTC
Jobs 1
Files 18
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

15 Oct 2026 08:53PM UTC coverage: 52.312% (+16.7%) from 35.653%
38805603627

push

github

web-flow
chore: add Makefile and streamline CI to use make commands (#183)

## Summary

Adds a project-level `Makefile` to standardize build, test, lint, and
Docker targets, and updates the GitHub Actions CI workflow to use `make
build` / `make test-ci` for consistency between local development and
CI.

### Makefile targets
- `make build` — cgo build with SQLite + FTS5 + Spatialite tags
- `make build-static` — non-cgo build (FTS5-only, no Spatialite)
- `make test` — all tests with coverage
- `make test-ci` — tests with JUnit XML + gotestsum for CI
- `make run` — runs the API server on port 8080
- `make lint` — tries `golangci-lint`, falls back to `go vet` (handles
Go 1.27.2 export-data incompatibility)
- `make docker` / `docker-build` / `docker-run` / `docker-push` — Docker
targets
- `make clean` / `make help`

### CI changes (`.github/workflows/build.yml`)
- Replaced inline `CGO_ENABLED=1 go build` and raw `gotestsum` commands
with `make build` / `make test-ci`
- Kept `golangci/golangci-lint-action@v9` for linting
- Two test phases preserved: FTS5-only fallback (before Spatialite) and
Spatialite-on (after install)

90 of 146 new or added lines in 8 files covered. (61.64%)

103 existing lines in 8 files now uncovered.

611 of 1168 relevant lines covered (52.31%)

0.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
63.41
-0.42% cmds/import_data.go
12
45.45
cmds/setup_sqlite_db.go
8
0.0
-84.21% cmds/http_api_server.go
8
76.29
repositories/sqlite.go
6
0.0
0.0% main.go
5
68.12
db/sqlite_connect.go
1
77.78
77.78% cmds/sitemap.go

Coverage Regressions

Lines Coverage ∆ File
56
0.0
-84.21% cmds/http_api_server.go
26
0.0
-78.79% routes/routers.go
8
0.0
-12.12% repositories/cache.go
5
0.0
-5.0% services/service_impl.go
4
0.0
-40.0% middlewares/error_handler.go
2
95.56
-1.72% db/query_builder.go
1
63.41
-0.42% cmds/import_data.go
1
0.0
0.0% main.go
Jobs
ID Job ID Ran Files Coverage
1 38805603627.1 15 Oct 2026 08:55PM UTC 18
52.31
GitHub Action Run
Source Files on build 38805603627
  • Tree
  • List 18
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 566ed48a on github
  • Prev Build on main (#38790099194)
  • Next Build on main (#38819920945)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc