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

SRombauts / SQLiteCpp / 28302368531
98%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2026 09:31PM UTC
Jobs 1
Files 14
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

27 Jun 2026 09:30PM UTC coverage: 98.105% (-1.9%) from 100.0%
28302368531

push

github

web-flow
Add CI workflow code coverage (GCov + Coveralls) (#549)

Recovered features from Travis CI, stopped since 2023

## Summary

The active GitHub Actions CI builds and runs the unit tests and the
example, but it does **not** compute code coverage. Coverage was only
ever wired up in the (now defunct) `.travis.yml`, even though the build
system still supports it (`SQLITECPP_USE_GCOV` CMake option) and the
README still advertises a Coveralls badge.

This PR adds a dedicated `Coverage` workflow that restores coverage
reporting on GitHub Actions.

## What it does

- New `.github/workflows/coverage.yml`: a single Linux/GCC job (gcov is
GCC-only in `CMakeLists.txt`) that
- configures with `-DSQLITECPP_USE_GCOV=ON -DSQLITECPP_BUILD_TESTS=ON
-DSQLITECPP_BUILD_EXAMPLES=ON`,
- runs `ctest`, which executes **both** registered tests `UnitTests` and
`Example1Run`, so library coverage is driven by the unit tests *and* the
example,
- captures with `lcov`, excluding `/usr`, `googletest`, `sqlite3`,
`examples` and `tests` (mirroring the old Travis exclusions),
- publishes to **Coveralls** via `coverallsapp/github-action@v2`,
matching the existing Coveralls badge.

## Notes for review

- Coveralls (not Codecov) was chosen to match the existing badge /
project history. Easy to switch if preferred.
- The repo must be enabled on coveralls.io for the upload to appear; the
action uses `GITHUB_TOKEN` (no extra secret needed for public repos).
- CHANGELOG entry will be added in a follow-up commit once this PR
number is known.

673 of 686 relevant lines covered (98.1%)

29.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28302368531.1 27 Jun 2026 09:31PM UTC 14
98.1
GitHub Action Run
Source Files on build 28302368531
  • Tree
  • List 14
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28302368531
  • 346bdb3d on github
  • Prev Build on master (#935)
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