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
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby }}
|
ruby-version: ${{ matrix.ruby }}
|
||||||
bundler-cache: false
|
bundler-cache: true
|
||||||
- run: bundle install
|
|
||||||
- run: bundle exec rspec
|
- run: bundle exec rspec
|
||||||
|
|
|
@ -14,7 +14,7 @@ begin
|
||||||
|
|
||||||
# Due to circular dependency (simplecov depends on docile), remove docile and require again below
|
# Due to circular dependency (simplecov depends on docile), remove docile and require again below
|
||||||
Object.send(:remove_const, :Docile)
|
Object.send(:remove_const, :Docile)
|
||||||
$LOADED_FEATURES.reject! { |f| f =~ /\/docile\// }
|
$LOADED_FEATURES.reject! { |f| f =~ /\/lib\/docile/ }
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
warn "warning: simplecov or codecov gems not found; skipping coverage"
|
warn "warning: simplecov or codecov gems not found; skipping coverage"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue