Skip to content

v0.2.1

v0.2.1 #27

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 3.0.0
- 3.1.0
- 3.2.0
- 3.2.2
rails_version:
- ~> 5.2.0
- ~> 6.0.0
- ~> 6.1.0
- ~> 7.0.0
- ~> 7.1.0
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Rubocop
run: bundle exec rubocop
- name: Setup DB
run: |
cd test/dummy
bundle exec rake db:create db:migrate
env:
RAILS_ENV: test
- name: Run tests
run: bundle exec rails test
env:
RAILS_VERSION: ${{ matrix.rails_version }}