Update CI: Add Ruby 3.2 and update GA runners (#722) #148
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: CI | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
jobs: | |
test: | |
name: Ruby ${{ matrix.ruby }} (${{ matrix.os }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, jruby-head] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rubocop | |
- run: bundle exec rspec | |
- name: E2E tests | |
if: ${{ success() && matrix.os != 'macos-latest' }} | |
run: bash spec/e2e/e2e_run.sh |