ci: add the Fluence gem CI workflow stack - #2
Merged
Merged
Conversation
- add reusable-workflow wrappers (rubocop/coverage/codequality/docs measure+pr, docs-deploy) plus prepare-release/release/publish and dependabot, mirroring fluence-gateway-auth - main.yml runs the spec suite across Ruby 3.2-4.0 - add supporting dev tooling: undercover, reek/flog/flay, yardstick, with .yardstick.yml and cliff.toml - annotate the public API with @api/@return/summary so yardstick hits 100% (threshold 95); SimpleCov now emits the undercover report
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.
Summary
Brings filterable's CI in line with the other Fluence gems (mirrors
fluence-gateway-auth). Wires the centralized reusable workflows fromfluence-eu/ci-workflowsfor lint, coverage, code quality, docs and therelease/publish pipeline, plus the supporting dev tooling and the public-API
doc annotations the docs check expects. No Appraisal multi-Rails matrix for now
(can be added later in a dedicated PR).
Changes
rubocop,coverage,codequality,docs(measure + PR),docs-deploy,prepare-release,release,publish— thin wrappers over theci-workflowsreusables (same@v1/@v2pins as gateway-auth).main.ymlruns the spec suite across Ruby 3.2–4.0.
undercover,reek/flog/flay,yardstickdev deps;.yardstick.yml+cliff.toml; Rakefile gains guardeddoc:*tasks;SimpleCov now emits the undercover report.
@api/@return/ summary tags →yardstick 100% (threshold 95).
How to Test
bundle installbundle exec rake→24 examples, 0 failures+ rubocop cleanbundle exec rake doc:verify→YARD-Coverage: 100.0% (threshold: 95%)Notes: the
*-measureworkflows seed their baselines on the first push tomain(post-merge), so the delta checks on this PR have no prior baseline tocompare against.
reek/flog/flayare advisory deltas — this PR sets thebaseline (9 reek warnings on intentionally parallel concern code).