Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
santib committed Dec 29, 2024
1 parent c1c1b74 commit fa2d83a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile: [rails_5_2.gemfile, rails_6_0.gemfile, rails_6_1.gemfile, rails_7_0.gemfile, rails_7_1.gemfile, rails_7_2.gemfile, rails_main.gemfile]
ruby_version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: [rails_5_2.gemfile, rails_6_0.gemfile, rails_6_1.gemfile, rails_7_0.gemfile, rails_7_1.gemfile, rails_7_2.gemfile, rails_8_0.gemfile, rails_main.gemfile]
ruby_version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
exclude:
- gemfile: rails_main.gemfile
ruby_version: '2.3'
Expand All @@ -25,6 +25,20 @@ jobs:
ruby_version: '3.0'
- gemfile: rails_main.gemfile
ruby_version: '3.1'
- gemfile: rails_8_0.gemfile
ruby_version: '2.3'
- gemfile: rails_8_0.gemfile
ruby_version: '2.4'
- gemfile: rails_8_0.gemfile
ruby_version: '2.5'
- gemfile: rails_8_0.gemfile
ruby_version: '2.6'
- gemfile: rails_8_0.gemfile
ruby_version: '2.7'
- gemfile: rails_8_0.gemfile
ruby_version: '3.0'
- gemfile: rails_8_0.gemfile
ruby_version: '3.1'
- gemfile: rails_7_2.gemfile
ruby_version: '2.3'
- gemfile: rails_7_2.gemfile
Expand Down Expand Up @@ -63,6 +77,8 @@ jobs:
ruby_version: '3.2'
- gemfile: rails_6_1.gemfile
ruby_version: '3.3'
- gemfile: rails_6_1.gemfile
ruby_version: '3.4'
- gemfile: rails_6_0.gemfile
ruby_version: '2.3'
- gemfile: rails_6_0.gemfile
Expand All @@ -75,6 +91,8 @@ jobs:
ruby_version: '3.2'
- gemfile: rails_6_0.gemfile
ruby_version: '3.3'
- gemfile: rails_6_0.gemfile
ruby_version: '3.4'
- gemfile: rails_5_2.gemfile
ruby_version: '3.0'
- gemfile: rails_5_2.gemfile
Expand All @@ -83,6 +101,8 @@ jobs:
ruby_version: '3.2'
- gemfile: rails_5_2.gemfile
ruby_version: '3.3'
- gemfile: rails_5_2.gemfile
ruby_version: '3.4'
env:
BUNDLE_GEMFILE: spec/gemfiles/${{ matrix.gemfile }}
steps:
Expand Down
1 change: 0 additions & 1 deletion spec/gemfiles/rails_5_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ source 'https://rubygems.org'
gemspec path: '../..'

gem 'rails', '~> 5.2.0'
gem 'sqlite3', '~> 1.4.4'
2 changes: 1 addition & 1 deletion spec/gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ source 'https://rubygems.org'

gemspec path: '../..'

gem 'rails', '~> 7.2.0.beta2'
gem 'rails', '~> 7.2.0'
5 changes: 5 additions & 0 deletions spec/gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem 'rails', '~> 8.0.0'

0 comments on commit fa2d83a

Please sign in to comment.