Skip to content

Matrix building for ruby 2.7 ✖️ 【rails 5.0 - 6.0】 🚀 #55

Matrix building for ruby 2.7 ✖️ 【rails 5.0 - 6.0】 🚀

Matrix building for ruby 2.7 ✖️ 【rails 5.0 - 6.0】 🚀 #55

Workflow file for this run

name: Exec Rspec
run-name: Matrix building for ruby 2.7 ✖️ 【rails 5.0 - 6.0】 🚀
on: [push]
jobs:
ruby_2_7:
strategy:
fail-fast: false
matrix:
arversion: ['5_0_5', '5_0_6', '5_0_7',
'5_1_3', '5_1_4', '5_1_5', '5_1_6', '5_1_7',
'5_2_0', '5_2_1', '5_2_2', '5_2_3', '5_2_4', '5_2_5', '5_2_6', '5_2_7', '5_2_8',
'6_0_0', '6_0_1', '6_0_2', '6_0_3', '6_0_4', '6_0_5', '6_0_6',
'6_1_0', '6_1_1', '6_1_2', '6_1_3', '6_1_4', '6_1_5', '6_1_6', '6_1_7']
runs-on: ubuntu-22.04
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails${{ matrix.arversion }}.gemfile
MYSQL_PWD: root
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler: latest
bundler-cache: true
- name: Start mysql
run: sudo systemctl start mysql.service
- name: Reset DB
run: bundle exec rake turntable:db:reset
- name: Run RSpec
run: RUBYOPT='-W:deprecated' bundle exec rake spec