Skip to content

Commit

Permalink
Add Rails 7.2 and 8.0 into test matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
voxik committed Dec 11, 2024
1 parent bd5bd23 commit 7603912
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ jobs:
- gemfiles/Gemfile.rails-6.1.x
- gemfiles/Gemfile.rails-7.0.x
- gemfiles/Gemfile.rails-7.1.x
- gemfiles/Gemfile.rails-7.2.x
- gemfiles/Gemfile.rails-8.0.x
- gemfiles/Gemfile.rails-main
exclude:
# Rails main requires at least Ruby 3.2
# Rails 8+ requires at least Ruby 3.2
- ruby_version: '3.1'
gemfile: gemfiles/Gemfile.rails-main
- ruby_version: '3.0'
gemfile: gemfiles/Gemfile.rails-main
- ruby_version: '3.1'
gemfile: gemfiles/Gemfile.rails-8.0.x
- ruby_version: '3.0'
gemfile: gemfiles/Gemfile.rails-8.0.x
# JRuby is not supported by Rails 7.0.x
- ruby_version: jruby
gemfile: gemfiles/Gemfile.rails-7.0.x
Expand Down
14 changes: 14 additions & 0 deletions gemfiles/Gemfile.rails-7.2.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
source 'https://rubygems.org'

gemspec :path => '..'

gem 'activesupport', '~> 7.2'
gem 'mocha', '~> 2'
gem 'test_declarative', '0.0.6'
gem 'rake'
gem 'minitest', '~> 5.1'
gem 'racc'

platforms :mri do
gem 'oj'
end
14 changes: 14 additions & 0 deletions gemfiles/Gemfile.rails-8.0.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
source 'https://rubygems.org'

gemspec :path => '..'

gem 'activesupport', '~> 8.0'
gem 'mocha', '~> 2'
gem 'test_declarative', '0.0.6'
gem 'rake'
gem 'minitest', '~> 5.1'
gem 'racc'

platforms :mri do
gem 'oj'
end

0 comments on commit 7603912

Please sign in to comment.