-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Solidus against Ruby 3.2 #4817
Conversation
We need to wait for CircleCI-Public/cimg-ruby#105 to have the Ruby 3.2 docker image available. |
7b3e6c5
to
ae9586c
Compare
ae9586c
to
7d6ff9c
Compare
@jarednorman, can you still see those errors? 🤔 |
@waiting-for-dev they've been solved when the new version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @kennyadsl ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All great! Just one questions, not blocking
@@ -334,7 +334,7 @@ workflows: | |||
- test_solidus: | |||
context: slack-secrets | |||
name: &name "test-rails-<<matrix.rails>>-ruby-<<matrix.ruby>>-<<matrix.database>>-<<#matrix.paperclip>>paperclip<</matrix.paperclip>><<^matrix.paperclip>>activestorage<</matrix.paperclip>>" | |||
matrix: { parameters: { rails: ['7.0'], ruby: ['3.0', '3.1'], database: ['mysql', 'sqlite', 'postgres'], paperclip: [true, false] } } | |||
matrix: { parameters: { rails: ['7.0'], ruby: ['3.1', '3.2'], database: ['mysql', 'sqlite', 'postgres'], paperclip: [true, false] } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on keeping 3.0 + rails 7 around?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can, I just didn't want to add more time for the CI (it's three more steps with that). Do you think it would be better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it still would be better, and ensure we have a ruby version tested for adjacent rails versions, e.g. having ruby 3.0 be the shared version between rails 7 and 6.1, but it's just a nice to have.
It's fine if we merge and then add it later 👍👍👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, that makes a lot of sense. I think we might accomplish the same result by testing Ruby 3.1 compatibility with Rails 6.1. This way, the CI will have only one more job instead of three new ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
This commit changes the CI matrix a little bit: The main tests are performed against Rails 7 vs Ruby 3.1 and 3.2. Testing Ruby 3.1 has been added to the Rails 6.1 matrix in order to guarantee at least one overlapping Ruby version between Rails version. This way there's a safe path to upgrade from Rails 6.1/Ruby 2.7 up to the latest Rails 7.0/Ruy 3.2.
7d6ff9c
to
c0cb06e
Compare
Fixes #4814.
Summary
🎅 brought us a new Ruby version. Is Solidus ready for it?
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed (
cross them outif they are not):