Skip to content

Move rubocop into its own action #4

Move rubocop into its own action

Move rubocop into its own action #4

Workflow file for this run

name: Tests
on: push
jobs:
ci:
name: CI
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 2.7.8
- 3.0.6
- 3.1.4
appraisal:
- rails_5.2_pc_7.0
- rails_5.2_pc_7.1
- rails_6.0_pc_7.0
- rails_6.0_pc_7.1
- rails_6.1_pc_7.0
- rails_6.1_pc_7.1
exclude:
- ruby: 3.0.6
appraisal: rails_5.2_pc_7.0
- ruby: 3.0.6
appraisal: rails_5.2_pc_7.1
- ruby: 3.1.4
appraisal: rails_5.2_pc_7.0
- ruby: 3.1.4
appraisal: rails_5.2_pc_7.1
steps:
- name: Install system dependencies
run: sudo apt-get install -y libsqlite3-dev
- uses: actions/checkout@master
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install bundle
run: bundle
- name: Install appraisal
run: bundle exec appraisal install
- name: Run tests
run: bundle exec appraisal ${{ matrix.appraisal }} rspec