diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-06 23:16:10 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-07 01:56:12 +0100 |
commit | 0df849428348df13c3af94b427c388bc0689e368 (patch) | |
tree | d1d5cd42e4e1a210421c916dc8dc1d250bcaa287 /Rakefile | |
parent | f17341d13c7b9a7462bebaabc084eb96f584657e (diff) | |
download | bundler-0df849428348df13c3af94b427c388bc0689e368.tar.gz |
Split test gem installation to a separate task
We run into a race condition when testing in parallel when all
processors install test gems to their test folder (due to shared gem
cache). So I figure we can instead run this setup sequentially
beforehand.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,6 +34,15 @@ namespace :spec do desc "Ensure spec dependencies are installed" task :deps do Spec::Rubygems.dev_setup + + Spec::Rubygems.install_test_deps + end + + desc "Ensure spec dependencies for running in parallel are installed" + task :parallel_deps do + Spec::Rubygems.dev_setup + + Spec::Rubygems.install_parallel_test_deps end task :clean do |