Merge pull request #776 from CocoaPods/1-16-stable #408
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Specs | |
jobs: | |
specs: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04] | |
ruby: [2.6, 2.7, 3.0.0, 3.2.2] | |
include: | |
- os: macos-13 | |
ruby: system | |
name: ${{ matrix.os }} / Ruby ${{ matrix.ruby }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout git | |
uses: actions/checkout@v1 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
if: ${{ matrix.ruby != 'system' }} | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Update git submodules | |
run: git submodule update --init | |
- name: Setup test_repo | |
run: ./.github/scripts/setup_test_repo.sh | |
- name: Run bundle install | |
run: | | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 --without debugging documentation | |
- name: Run Specs + Rubocop | |
run: bundle exec rake spec | |
on: | |
push: | |
branches: | |
- "master" | |
- "*-stable" | |
pull_request: | |
branches: | |
- master | |
- "*-stable" |