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