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

blues / note-arduino / 42849659700
92%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2026 04:00PM UTC
Jobs 1
Files 12
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

10 Nov 2026 03:56PM UTC coverage: 92.231% (-0.9%) from 93.159%
42849659700

push

github

web-flow
test: measure coverage over all of src/, without exception branches (#172)

* test: measure coverage over all of src/, without exception branches

The coverage target reported 349/355 lines. It left out NoteTime_Arduino.cpp,
which has no test, so its 5 lines could not count as missed. It also counted
18 compiler-made exception branches.

- Compile each src unit that has no test, so it counts as 0% covered.
- Capture only src/ (include src/*, exclude src/note-c/*).
- Leave out exception branches. Option
  NOTE_ARDUINO_COVERAGE_EXCEPTION_BRANCHES=ON counts them.
- Pick the lcov option names by lcov version. lcov 1 ignores
  "branch_coverage" and then writes no branch data. It needs
  "lcov_branch_coverage". CMake warns when it finds lcov 1.
- Write coverage/summary.json with hit, total and missed counts per file.

The run_tests job prints the lcov and python3 versions of the CI image before it runs the tests (step "Print CI image tool versions"), so the first CI log shows them.

Numbers on master 8cdee29: lines 349/360 (11 missed), branches 114/142 (28 missed).
src/ is unchanged.

* test: drop coverage_summary.py (review fix for the coverage measurement)

Nothing read coverage/summary.json. The script only printed a table. It
had its own lcov parser and its own rule for exception branches, so the
rule lived in three places (CMake option, this script, the gate in the
next PR). `lcov --summary` in the same target already prints the totals.

- Delete scripts/coverage_summary.py.
- Remove the CMake step that ran it, and the Python3 lookup it needed.

A missing or empty tracefile now stops the coverage target in `lcov`
itself. The gate (next PR) ends with exit status 2 and a message.
src/ is unchanged.

---------

Co-authored-by: zakoverflow <zakoverflow@users.noreply.github.com>

114 of 142 branches covered (80.28%)

Branch coverage included in aggregate %.

349 of 360 relevant lines covered (96.94%)

19.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42849659700.1 10 Nov 2026 04:00PM UTC 12
92.23
GitHub Action Run
Source Files on build 42849659700
  • Tree
  • List 12
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42849659700
  • 58fe928c on github
  • Prev Build on master (#39328820221)
  • Next Build on master (#43057250569)
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