Skip to content

Commit

Permalink
Add ruby 1.0 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Mar 27, 2024
1 parent c27732e commit 844690a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 10 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test_ruby_3_0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Exec Rspec
run-name: Matrix building for ruby 3.0 ✖️ 【rails 6.0】 🚀
on: [push]

jobs:
ruby_2_7:
strategy:
fail-fast: false
matrix:
arversion: ['6_0_6']
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@v3
- 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
10 changes: 5 additions & 5 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ appraise "rails6_0_5" do
end

appraise "rails6_0_6" do
gem "rails", "6.0.6"
gem "railties", "6.0.6"
gem "activerecord", "6.0.6"
gem "activesupport", "6.0.6"
gem "actionview", "6.0.6"
gem "rails", "~> 6.0.6.1"
gem "railties", "~> 6.0.6.1"
gem "activerecord", "~> 6.0.6.1"
gem "activesupport", "~> 6.0.6.1"
gem "actionview", "~> 6.0.6.1"
gem "mysql2", "~> 0.5.2"
end
10 changes: 5 additions & 5 deletions gemfiles/rails6_0_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

source "https://rubygems.org"

gem "rails", "6.0.6"
gem "actionview", "6.0.6"
gem "activerecord", "6.0.6"
gem "activesupport", "6.0.6"
gem "railties", "6.0.6"
gem "rails", "~> 6.0.6.1"
gem "actionview", "~> 6.0.6.1"
gem "activerecord", "~> 6.0.6.1"
gem "activesupport", "~> 6.0.6.1"
gem "railties", "~> 6.0.6.1"
gem "mysql2", "~> 0.5.2"

gemspec path: "../"

0 comments on commit 844690a

Please sign in to comment.