Merge pull request #69 from taichi-ishitani/use_bundler_cache
Use 'bundler-cache' option
This commit is contained in:
commit
3cedc37018
|
@ -21,6 +21,5 @@ jobs:
|
|||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: false
|
||||
- run: bundle install
|
||||
bundler-cache: true
|
||||
- run: bundle exec rspec
|
||||
|
|
|
@ -14,7 +14,7 @@ begin
|
|||
|
||||
# Due to circular dependency (simplecov depends on docile), remove docile and require again below
|
||||
Object.send(:remove_const, :Docile)
|
||||
$LOADED_FEATURES.reject! { |f| f =~ /\/docile\// }
|
||||
$LOADED_FEATURES.reject! { |f| f =~ /\/lib\/docile/ }
|
||||
rescue LoadError
|
||||
warn "warning: simplecov or codecov gems not found; skipping coverage"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue