Skip to content

Merge pull request #43 from tnantoka/bugfix/table-name-prefix-on-rail… #35

Merge pull request #43 from tnantoka/bugfix/table-name-prefix-on-rail…

Merge pull request #43 from tnantoka/bugfix/table-name-prefix-on-rail… #35

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop
rspec:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
gemfile:
- rails6
- rails7
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec