-
Notifications
You must be signed in to change notification settings - Fork 25
Adds Appraisal and Active Record Tests #133
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
base: main
Are you sure you want to change the base?
Conversation
rsamoilov
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.
Hey Theo, great job!
Have several comments right off the bat.
- Don't run `spec/ext` as part of the default test suite - Separate running appraisals against the main rails branch. Instead, run the main branch as a scheduled action. - Add a new rake task to run all appraisals (except against main Rails branch)
|
@rsamoilov I should've asked if you are against using I updated my PR with the changes you asked for; please let me know if I misunderstood anything. If the current changes are ok, I'll finish adding the tests for the |
Not at all. |
rsamoilov
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.
This looks exactly as it should. Love it!
|
Oh, one more thing - let's remove the Appraisal file and the gemfiles directory from the bundle. |
- Remove EOL Ruby version - Fix steps identation - Add caching for Appraisals gems - Remove Appraisals' gemfiles folder from `gemspec`
|
I updated the workflow to use the cache, but I don't know if it will work as expected. I'll wait for you to approve and fix any errors that might happen. Another project workflow question: do you prefer having one commit per Pull Request (squash them before merge)? |
No, don't worry about the git stuff. Doesn't matter to me. And sorry for the required approvals, I don't think it's possible to disable that. |
|
Weird, it appears to be working, but it doesn't seem to change anything.
|
No worries! There's no reason to be sorry 🙏
I'll investigate this today |
I wonder what will happen if you commit the lockfiles. |
My apologies for the radio silence; I was recovering from an accident. I had them originally but removed them after this feedback. I'll add them back and we can see what will happen 🙏 |
I'm sorry to hear 😞 Get well soon!
Right, I know I suggested removing them. But considering the cache doesn't work correctly, it is possible committing the lockfiles will fix the issue. |
|
Hey @theomelo I hope you're doing well. You've made great progress here, and I'd love to merge the PR. I will continue working in this branch to get it merged, but let me know if you'd prefer to finish it yourself. |

Closes: #120
rails_maintests to run independently from a PR push.