-
Notifications
You must be signed in to change notification settings - Fork 443
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
Use Appraisal in CI #1230
Use Appraisal in CI #1230
Changes from 16 commits
f6a0410
a0ce71e
71de8e3
ce22d93
9b6a841
100837d
bc6c1b5
cf27290
3e48e10
bf847cf
aec2556
68db61b
091a66e
6e9c543
1c03554
51d9b8e
8ccf625
eec9787
2faa8de
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ rails_version = "#{ENV['RAILS_VERSION'] || 'main'}" | |
gem "capybara", "~> 3" | ||
gem "rails", rails_version == "main" ? { git: "https://github.com/rails/rails", ref: "main" } : rails_version | ||
|
||
group :development, :test do | ||
gem "appraisal", github: "excid3/appraisal", branch: "fix-bundle-env" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason we shouldn't be using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes because the fix we need is not yet merged: thoughtbot/appraisal#174 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a way we can keep tabs on where @excid3's fork is at to ensure it's not susceptible to upstream issues with Appraisal? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just FYI, I am skipping appraisal in CI right now and just setting https://github.com/excid3/noticed/blob/master/.github/workflows/ci.yml#L28 |
||
end | ||
|
||
if RUBY_VERSION >= "3.1" | ||
gem "net-imap", require: false | ||
gem "net-pop", require: 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.
I'm not sure this works as expected. 🤔
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 this part probably works alright. I'm inclined to believe it's setting
BUNDLE_GEMFILE
that isn't doing anything.if caching was failing but the Gemfile was fine, GitHub Actions would try to install
turbo-rails
. I'm inclined to believe setting the Gemfile doesn't work, but caching still does, because there's no mention ofturbo-rails
ortailwindcss-rails
in the logs, and the logs still say they'reusing
a gem that has already been downloaded.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.
tailwindcss-rails
now appear in the logs of the latest runs.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.
It doesn't look like the call to
hashFiles
is returning anything.