Skip to content

Report real SimpleCov coverage to Coveralls and fix status badges - #25

Merged
dblock merged 1 commit into
mongoid:masterfrom
dblock:dblock/coveralls
Oct 14, 2026
Merged

dblock merged 1 commit into
mongoid:masterfrom
dblock:dblock/coveralls

Conversation

@dblock

@dblock dblock commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to the merged CI modernization PR. Remove remaining Code Climate integrations where present, fix upstream/master CI badge URLs, and add Coveralls coverage badges.

Start SimpleCov before application code, track every lib Ruby file including unexecuted files, and exclude specs. Only the Ruby 3.4 / Mongoid 9 / MongoDB 8.0 representative job installs coverage dependencies and uploads its actual coverage/.resultset.json using the official Coveralls action and GITHUB_TOKEN. No additional secret tokens, fake reports, parallel-upload coordination, or duplicate matrix submissions. Legacy Ruby/interpreter combinations remain unchanged.

Validation

Local Ruby 3.4.9 / Mongoid 9 / MongoDB 7.0.12 suite with COVERAGE=true: 115 examples, 0 failures; 378/430 lines (87.91%).

Confirmed nonempty line data in the generated SimpleCov JSON. Changed Ruby files pass RuboCop; workflows parse and git diff --check passes. Ignored reports/lockfiles are not committed.

All 11 GitHub checks passed on final single commit 0052361, including legacy/interpreter jobs and Ruby 4.0 / Mongoid 9 / MongoDB 8.0. The representative Ruby 3.4 job generated real SimpleCov data and Coveralls accepted the upload with an API success response: https://coveralls.io/jobs/189620371. Upload errors are not ignored. Public report HTML is currently behind a Coveralls/Cloudflare challenge in this environment, so public rendering and the master badge after merge are not independently verified.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Danger Report

No issues found.

View run

@dblock
dblock merged commit 7fdfa4c into mongoid:master Oct 14, 2026
12 checks passed
@dblock
dblock deleted the dblock/coveralls branch October 17, 2026 02:21
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