Skip to content

Cleanups of rubocop issues #107

Cleanups of rubocop issues

Cleanups of rubocop issues #107

Workflow file for this run

name: Run Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.2', '3.3']
appraisal: ["rails-6", "rails-7"]
steps:
- uses: actions/checkout@v1
- name: Setup System
run: |
sudo apt-get update
sudo apt-get install libsqlite3-dev
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake (Ruby 2.7 only)
if: ${{ matrix.ruby == '2.7' }}
run: |
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
bundle exec appraisal install
bundle exec appraisal ${{ matrix.appraisal }} rake
- name: Build and test with Rake (Ruby 3.2+ only)
if: ${{ matrix.ruby != '2.7' }}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec appraisal install
bundle exec appraisal ${{ matrix.appraisal }} rake