Skip to content

Commit

Permalink
CI: test with Ruby 3.3, Rails 7.1 (#659)
Browse files Browse the repository at this point in the history
mislav authored Jun 10, 2024
1 parent 2c11a6c commit e9d5c01
Showing 4 changed files with 28 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ jobs:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
gemfile:
- Gemfile
- environments/Gemfile.rails5.0.rb
@@ -37,18 +38,24 @@ jobs:
gemfile: environments/Gemfile.rails5.0.rb
- ruby: '3.2'
gemfile: environments/Gemfile.rails5.0.rb
- ruby: '3.3'
gemfile: environments/Gemfile.rails5.0.rb
- ruby: '3.0'
gemfile: environments/Gemfile.rails5.1.rb
- ruby: '3.1'
gemfile: environments/Gemfile.rails5.1.rb
- ruby: '3.2'
gemfile: environments/Gemfile.rails5.1.rb
- ruby: '3.3'
gemfile: environments/Gemfile.rails5.1.rb
- ruby: '3.0'
gemfile: environments/Gemfile.rails5.2.rb
- ruby: '3.1'
gemfile: environments/Gemfile.rails5.2.rb
- ruby: '3.2'
gemfile: environments/Gemfile.rails5.2.rb
- ruby: '3.3'
gemfile: environments/Gemfile.rails5.2.rb
- ruby: '2.4'
gemfile: environments/Gemfile.rails6.0.rb
- ruby: '2.4'
@@ -59,6 +66,10 @@ jobs:
gemfile: environments/Gemfile.rails-edge.rb
- ruby: '2.6'
gemfile: environments/Gemfile.rails-edge.rb
- ruby: '2.7'
gemfile: environments/Gemfile.rails-edge.rb
- ruby: '3.0'
gemfile: environments/Gemfile.rails-edge.rb
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
source 'https://rubygems.org'

# We test against other Rails versions, too. See `environments/`
rails_version = '~> 7.0.2'
rails_version = '~> 7.1.3'

gem 'activerecord', rails_version
gem 'actionpack', rails_version

gem 'rspec', '~> 3.12'
gem 'mocha', '~> 2.0'

gem 'sqlite3', '~> 1.4.0'
gem 'sqlite3', '~> 1.5.0'
gem 'mysql2', '~> 0.5.2', :group => :mysql
gem 'pg', '~> 1.2', :group => :pg
14 changes: 14 additions & 0 deletions environments/Gemfile.rails7.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
source 'https://rubygems.org'

# We test against other Rails versions, too. See `environments/`
rails_version = '~> 7.0.2'

gem 'activerecord', rails_version
gem 'actionpack', rails_version

gem 'rspec', '~> 3.12'
gem 'mocha', '~> 2.0'

gem 'sqlite3', '~> 1.5.0'
gem 'mysql2', '~> 0.5.2', :group => :mysql
gem 'pg', '~> 1.2', :group => :pg
2 changes: 1 addition & 1 deletion script/ci-matrix
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ requirements = {
'environments/Gemfile.rails6.0.rb' => '>= 2.5',
'environments/Gemfile.rails6.1.rb' => '>= 2.5',
'Gemfile' => '>= 2.7',
'environments/Gemfile.rails-edge.rb' => '>= 2.7',
'environments/Gemfile.rails-edge.rb' => '>= 3.1',
}

commands = {}

0 comments on commit e9d5c01

Please sign in to comment.