Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Merge pull request #82 from zendesk/zenspider/rails7 #157

Merge pull request #82 from zendesk/zenspider/rails7

Merge pull request #82 from zendesk/zenspider/rails7 #157

Workflow file for this run

---
name: Continuous Integration
"on":
pull_request:
push:
branches:
- main
tags-ignore:
- "**"
jobs:
tests:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
experimental: [false]
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
gemfile:
- gemfiles/rails5.1.gemfile
- gemfiles/rails5.2.gemfile
- gemfiles/rails6.0.gemfile
- gemfiles/rails6.1.gemfile
include:
- {ruby: '3.1', gemfile: gemfiles/rails7.0.gemfile, experimental: true}
exclude:
- {ruby: '3.0', gemfile: gemfiles/rails5.1.gemfile}
- {ruby: '3.0', gemfile: gemfiles/rails5.2.gemfile}
- {ruby: '3.1', gemfile: gemfiles/rails5.1.gemfile}
- {ruby: '3.1', gemfile: gemfiles/rails5.2.gemfile}
- {ruby: '3.2', gemfile: gemfiles/rails5.1.gemfile}
- {ruby: '3.2', gemfile: gemfiles/rails5.2.gemfile}
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: zendesk/checkout@v3
- uses: zendesk/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: test
run: bundle exec rake test
validate:
runs-on: ubuntu-latest
steps:
- uses: zendesk/checkout@v3
- uses: zendesk/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: rubocop
run: bundle exec rubocop