Skip to content

Commit

Permalink
Add Ruby >= 2.2 and Rails >= 4.0 back in matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcogregorius committed Nov 23, 2022
1 parent 1cfb2a3 commit 051d55d
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,43 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', jruby ]
gemfile: [ gemfiles/rails-6-1.gemfile ]
ruby: [ '2.2', '2.3', '2.4', '2.5', '2.6' ]
gemfile:
- gemfiles/rails-4-0.gemfile
- gemfiles/rails-4-1.gemfile
- gemfiles/rails-4-2.gemfile
- gemfiles/rails-5-0.gemfile
- gemfiles/rails-5-1.gemfile
- gemfiles/rails-5-2.gemfile
experimental: [ false ]
include:
- ruby: '2.7'
gemfile: gemfiles/rails-6-1.gemfile
experimental: false
- ruby: '3.0'
gemfile: gemfiles/rails-6-0.gemfile
gemfile: gemfiles/rails-6-1.gemfile
experimental: false
- ruby: '3.0'
gemfile: gemfiles/rails-7-0.gemfile
experimental: false
- ruby: '3.1'
gemfile: gemfiles/rails-main.gemfile
experimental: false
exclude:
- rvm: '2.4'
gemfile: gemfiles/rails-4-0.gemfile
- rvm: '2.4'
gemfile: gemfiles/rails-4-1.gemfile
- rvm: '2.5'
gemfile: gemfiles/rails-4-0.gemfile
- rvm: '2.5'
gemfile: gemfiles/rails-4-1.gemfile
- rvm: '2.6'
gemfile: gemfiles/rails-4-0.gemfile
- rvm: '2.6'
gemfile: gemfiles/rails-4-1.gemfile
- rvm: '2.6'
gemfile: gemfiles/rails-4-2.gemfile
runs-on: ubuntu-20.04
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails-4-0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source "https://rubygems.org"

gem "rails", "~> 4.0.0"
gem "railties", "~> 4.0.0"
gem 'sqlite3', '~> 1.3.6', platforms: :ruby
gem "activerecord-jdbcpostgresql-adapter", "~> 1.3", platforms: :jruby

gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/rails-4-1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 4.1.0"
gem 'sqlite3', '~> 1.3.6', platforms: :ruby
gem "activerecord-jdbcpostgresql-adapter", "~> 1.3", platforms: :jruby

gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/rails-4-2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 4.2.0"
gem 'sqlite3', '~> 1.3.6', platforms: :ruby
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]

gemspec :path => "../"

0 comments on commit 051d55d

Please sign in to comment.