.github/workflows/ci.yml in xcode-install-2.6.8 vs .github/workflows/ci.yml in xcode-install-2.7.0
- old
+ new
@@ -1,14 +1,14 @@
name: "CI"
-on: [pull_request]
+on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
- ruby: ["2.5", "2.6"]
+ ruby: ["2.5", "2.6", "2.7"]
runs-on: macos-latest
steps:
# Setup env
- uses: actions/checkout@v2
@@ -17,19 +17,25 @@
ruby-version: "${{ matrix.ruby }}"
# 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
- name: Run lint
run: bundle exec rake rubocop