Add Rails 8.1 style local CI via bin/ci#6428
Open
larouxn wants to merge 1 commit intorubygems:masterfrom
Open
Conversation
larouxn
commented
Apr 15, 2026
Contributor
Author
There was a problem hiding this comment.
This bin/herb comes from herb itself.
https://github.com/marcoroth/herb/blob/fac8b7b7e729be4b9a7213e602213242979ea794/bin/herb
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6428 +/- ##
==========================================
- Coverage 97.07% 94.51% -2.56%
==========================================
Files 494 494
Lines 10514 10573 +59
==========================================
- Hits 10206 9993 -213
- Misses 308 580 +272 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Proposing we add a
bin/cilocal CI tool, a new Rails feature as of Rails 8.1, for local sanity checks. For example, peeps can runbin/cibefore pushing to check basic app setup, linting, security, and unit tests are all good prior to handing such off to hosted CI.Notes
bin/ci, ensuring that they're one and the same. And in that case we could even proceed with addinggh signoffand/or requiringbin/cipass before push via a Git commit hook. Many possible enhancements. 🙂bin/rails app:updateis complete and we're fully up-to-date.References
Follow up to:
Testing
Have tested using this locally quite a few times.