-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
Add ruby 3 and node 16 & 18 in CI #1568
Conversation
Not passing CI |
8160646
to
075decb
Compare
Regarding the fix for Class#desendants issue in Ruby 3.1 More info: https://github.com/rails/rails/releases/tag/v7.0.1
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.
Though I don't have any proposal for fixing the issue, this solution seems a bit hacky. It fixes our failing tests but it doesn't make sense to me. We can pass git_installed = false
while we execute git status ...
.
Update:
I think there is another issue as well. We set git_installed
to $CHILD_STATUS.success?
before we run git status --porcelain
. This means we do not capture suscess
of the git
command execution.
Maybe we should extract the entire git logic out of this function.
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.
This is a form of mocking the git status for testing, because without it, we get a Cannot proxy frozen objects, rspec-mocks relies on proxies for method stubbing and expectations.
error.
Summary
Update Ruby and Node versions in CI
Other Information
Closes #1565
This change is