Skip to content

Matrix building for ruby 3.0 ✖️ 【rails 6.0 - 6.1】 🚀 #40

Matrix building for ruby 3.0 ✖️ 【rails 6.0 - 6.1】 🚀

Matrix building for ruby 3.0 ✖️ 【rails 6.0 - 6.1】 🚀 #40

Workflow file for this run

name: Exec Rspec
run-name: Matrix building for ruby 3.0 ✖️ 【rails 6.0 - 6.1】 🚀
on: [push]
jobs:
ruby_3_0:
strategy:
fail-fast: false
matrix:
arversion: ['7_0_6', '7_0_7', '7_0_8',
'7_1_2', '7_1_3', '7_1_4']
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: '3.0'
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