Skip to content

Rails7.1対応の追加と、v3.0.0に向けたREADMEの更新 #45

Rails7.1対応の追加と、v3.0.0に向けたREADMEの更新

Rails7.1対応の追加と、v3.0.0に向けたREADMEの更新 #45

Workflow file for this run

name: master & PR
on:
pull_request:
push:
branches:
- master
jobs:
spec:
runs-on: ubuntu-latest
strategy:
matrix:
rails_version:
- "6.1"
- "7.0"
- "7.1"
ruby_version:
- "3.1"
autoloader:
- "zeitwerk"
- "classic"
eager_load:
- "true"
- "false"
name: Test on Rails ${{ matrix.rails_version }} & Ruby ${{ matrix.ruby_version }} & Autoloader ${{ matrix.autoloader }} & EagerLoad ${{ matrix.eager_load }}
env:
BUNDLE_GEMFILE: gemfiles/Gemfile_rails_${{ matrix.rails_version }}.rb
CI: true
EAGER_LOAD: ${{ matrix.eager_load }}
AUTOLOADER : ${{ matrix.autoloader }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: rspec
run: bundle exec rspec
- name: Coveralls
if: matrix.rails_version == '6.1' && matrix.ruby_version == '3.1'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}