-
Notifications
You must be signed in to change notification settings - Fork 751
Switch to GitHub Actions for testing #1198
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
Switch to GitHub Actions for testing #1198
Conversation
c9c7d20 to
efbf304
Compare
|
Ah I think #1150 broke some of the tests a bit more. The new version of |
|
I do think we ought to revisit the supported versions of Webpacker with this gem. I'm generally new to this sort of thing so unsure of where to cut things off (especially considering non-Shakapacker Webpacker is already retired). |
|
@HarrisonB I agree with you. I opened an issue for this: #1199. |
|
@HarrisonB any update? I mentioned that we can revert the new |
ee464a1 to
3f0f44a
Compare
See here for an argument as to why to do so
See these links for context: * rails/rails#41750 * https://rubyonrails.org/2021/3/26/marcel-upgrade-releases
Issue was introduced in minitest/minitest@6fecff9 and hack workaround was introduced in minitest/minitest@b8ddc4f I *think* that changing the API make this work w/o the workaround would require a breaking change so we can leave that for later.
This was EOLed over a year ago and doing a `bundle install` with the current set of packages gives > minitest-5.16.3 requires ruby version < 4.0, >= 2.6, which is > incompatible with the current version
3f0f44a to
dd2e249
Compare
Unfortunately Bundler 2 and JRuby 9.1 are not compatible on GitHub actions (see here: ruby/setup-ruby#108) which leads to failures. Additionally, due to the `webdrivers` gem as a testing dependency needing upgrading, 9.2 is also a no-go. JRuby 9.3 matches (MRI) Ruby 2.6 which we just made the floor of the testing matrix, so this is likely a good version to match anyhow.
c48ffa6 to
5f6062d
Compare
|
@HarrisonB let me know when to review. |
This is b/c therubyrhino isn't working properly in CI (see https://github.com/hibachrach/react-rails/actions/runs/3034813789/jobs/4884297309)
c44ad6a to
1c282a6
Compare
|
@justin808 It's now ready for review |
justin808
left a comment
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.
LGTM
|
Thanks, @hibachrach. Let's see if this runs! We might need some followups. |
|
Looks like it's running: https://github.com/reactjs/react-rails/actions |
Converts from Travis to GH actions. Fixes #1193