Skip to content

Conversation

@ericproulx
Copy link
Contributor

Add Rails 8.1 to CI test matrix

Summary

This PR adds Rails 8.1 support to the CI test matrix, ensuring Grape continues to work correctly with the latest Rails version.

Changes

  • Added gemfiles/rails_8_1.gemfile: New gemfile configuration for Rails 8.1 testing
  • Updated .github/workflows/test.yml:
    • Added gemfiles/rails_8_1.gemfile to the test matrix
    • Added exclusions for incompatible Ruby/Rails combinations:
      • Ruby 3.0 excluded from Rails 8.1 tests (Rails 8.1 requires Ruby >= 3.1)
      • Ruby 3.1 excluded from Rails 8.0 tests (duplicate removal)
  • Updated .github/workflows/edge.yml:
    • Added Ruby 3.1 exclusion from rails_edge tests for consistency

Compatibility

Rails 8.1 requires Ruby >= 3.1, which is reflected in the CI exclusions. The test matrix now includes:

  • Rails 7.0, 7.1, 7.2, 8.0, 8.1
  • All compatible Ruby versions tested with each Rails version

Testing

The CI will automatically test Rails 8.1 compatibility across all supported Ruby versions.

@ericproulx ericproulx force-pushed the add_rails_8_1_on_ci branch 2 times, most recently from 7bb701a to e5e0efd Compare November 15, 2025 17:52
- Add gemfiles/rails_8_1.gemfile with Rails 8.1 dependency
- Include rails_8_1.gemfile in test workflow matrix
- Add exclusions for incompatible Ruby/Rails combinations:
  - Ruby 3.0 excluded from Rails 8.1 tests
  - Ruby 3.1 excluded from Rails 8.0 tests (duplicate removal)
  - Ruby 3.1 excluded from rails_edge tests in edge workflow
@ericproulx ericproulx merged commit 5fa9fb1 into master Nov 15, 2025
109 checks passed
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.

3 participants