Skip to content

Enable SimpleCov branch coverage - #942

Merged
sds merged 2 commits into
mainfrom
coverage/enable-branch-coverage
Nov 11, 2026
Merged

sds merged 2 commits into
mainfrom
coverage/enable-branch-coverage

Conversation

@sds

@sds sds commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

SimpleCov now records branch coverage alongside line coverage through the shared configuration used by test workers and report collation. The existing 100% line coverage gate is unchanged.

Add regression tests for covered and missed branches and for combining branch hits into the CI LCOV upload. Preserve every existing test. Correct the README coverage badge's destination and accessible label; Coveralls documents a combined coverage percentage, with no separate branch-only badge documented.

Pin the existing Ruby setup and Coveralls actions to their current version commits so the workflow can run under the repository's SHA-pinning policy.

Validation:

  • CI=true bundle exec ruby script/parallel_rspec.rb
  • bundle exec ruby script/check_coverage.rb coverage/lcov.info — 100% line coverage
  • bundle exec overcommit --run

@sds
sds merged commit 0768cdc into main Nov 11, 2026
26 checks passed
@sds
sds deleted the coverage/enable-branch-coverage branch November 11, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant