Skip to content

Add Ruby × Rails compatibility matrix and CI - #1

Merged
jacksonpires merged 1 commit into
mainfrom
ci/compatibility-matrix
Nov 13, 2026
Merged

jacksonpires merged 1 commit into
mainfrom
ci/compatibility-matrix

Conversation

@jacksonpires

Copy link
Copy Markdown
Owner

Summary

  • Adds per-Rails Gemfiles under gemfiles/ (7.1, 7.2, 8.0, 8.1), selected via BUNDLE_GEMFILE.
  • Adds a GitHub Actions workflow (.github/workflows/ci.yml) that runs the full test suite on Ruby 3.2, 3.3, 3.4 and 4.0 × Rails 7.1, 7.2, 8.0 and 8.1 (fail-fast: false).
  • Documents the compatibility matrix in the README.
  • Raises required_ruby_version to >= 3.2.0: Phlex 2.x (required by phlex-rails >= 2.0) already needs Ruby 3.2+, so the gem couldn't install on 3.1 anyway.
  • Bumps the dev Ruby pin (.ruby-version / mise.toml) to 4.0.9; ignores gemfiles/*.lock and test/tmp/.

Test plan

  • Ran the suite locally in all 16 combinations (Ruby 3.2.11 / 3.3.13 / 3.4.12 / 4.0.9 × Rails 7.1 / 7.2 / 8.0 / 8.1.4.1): 120 runs, 761 assertions, 0 failures in each.
  • CI matrix green on this PR.

🤖 Generated with Claude Code

- Add per-Rails Gemfiles (gemfiles/rails_{7.1,7.2,8.0,8.1}.gemfile)
- Add GitHub Actions workflow testing Ruby 3.2–4.0 × Rails 7.1–8.1
- Document the compatibility matrix in the README
- Raise minimum Ruby to 3.2 (Phlex 2.x already requires it)
- Bump dev Ruby pin to 4.0.9; ignore gemfile lockfiles and test/tmp

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jacksonpires
jacksonpires merged commit ea2aa9c into main Nov 13, 2026
16 checks passed
@jacksonpires
jacksonpires deleted the ci/compatibility-matrix branch November 13, 2026 01:26
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