diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3729d0e..f3be3b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.5", "2.6"] + ruby: ["2.5", "2.6", "2.7"] runs-on: macos-latest steps: @@ -19,16 +19,22 @@ jobs: # Show env - name: Show macOS version run: sw_vers - - name: Show ruby version + - name: Show env versions run: | ruby --version bundler --version + echo $HOME # Prepare - - name: Install bundler 1.7 - run: gem install bundler -v "~> 1.7" + - name: Install bundler 2.2.14 + run: gem install bundler -v "~> 2.2.14" - name: Install ruby dependencies - run: bundle install -j4 --clean --path=vendor + run: | + bundle config --local clean 'true' + bundle config --local path '.vendor' + bundle config --local jobs 8 + bundle config --local without 'system_tests' + bundle install - name: Run test run: bundle exec rake spec diff --git a/.gitignore b/.gitignore index 4e57d3f..d3896b5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ mkmf.log .DS_Store test +.vendor diff --git a/xcode-install.gemspec b/xcode-install.gemspec index 84d955a..ba08c3a 100644 --- a/xcode-install.gemspec +++ b/xcode-install.gemspec @@ -27,6 +27,6 @@ Gem::Specification.new do |spec| # contains spaceship, which is used for auth and dev portal interactions spec.add_dependency 'fastlane', '>= 2.1.0', '< 3.0.0' - spec.add_development_dependency 'bundler', '~> 1.7' + spec.add_development_dependency 'bundler', '>= 2.0.0', '< 3.0.0' spec.add_development_dependency 'rake', '>= 12.3.3' end