-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hack to use a single bundle dir in CI
- Loading branch information
Showing
10 changed files
with
16 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ spec/rails7/tmp/ | |
# rspec failure tracking | ||
.rspec_status | ||
Gemfile.lock | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
|
||
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | ||
|
||
# Kind of ugly, but works. The setup-ruby action forces gems to be installed to vendor/bundle | ||
# If we use it naively we end up with vendor/bundle and spec/rails7/vendor/bundle, which | ||
# breaks all the tests because docs are generated in two different directories. | ||
# | ||
# So if we just install the rails deps at the same time, we have a single cache and a single | ||
# directory for gems. | ||
plugin 'auto_yard', path: './ci/auto_yard' | ||
rails_version = ENV['MATRIX_RAILS_VERSION'] || '7' | ||
instance_eval File.read("spec/rails#{rails_version}/Gemfile") | ||
|
||
group :development, :test do | ||
gem 'byebug' | ||
gem 'bundler-audit' | ||
gem 'byebug' | ||
end | ||
|
||
# Specify your gem's dependencies in solargraph_rails.gemspec | ||
gemspec |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
plugin 'auto_yard', path: '../auto_yard' | ||
|
||
gem 'devise' | ||
gem 'pry-rails' | ||
gem 'rails', '~> 7.0.4' | ||
gem 'sqlite3' | ||
|
||
group :development do | ||
gem 'rdbg' | ||
gem 'solargraph', require: false | ||
gem 'solargraph-rails', require: false, path: '../..' | ||
end |