mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
use 'bundler-cache' option instead of running 'bundle install' directly
This commit is contained in:
parent
a778fd6c78
commit
8158993762
2 changed files with 2 additions and 3 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -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 a new issue