Skip to content

Commit

Permalink
Merge pull request #318 from ohbarye/ci-against-rails-7-2
Browse files Browse the repository at this point in the history
Run test against Rails 7.2
  • Loading branch information
kbrock authored Aug 20, 2024
2 parents a90148f + ca3af92 commit f9ee4a4
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ jobs:
# | 5.0 | 6/2020 | 3/2020 | 2.2 | 2.4 |
# | 5.1 | 6/2021 | 3/2021 | 2.2 | 2.5 |
# | 5.2 | 6/2022 | 3/2022 | 2.2 | 2.6 |
# | 6.0 | 6/2023? | 3/3023?| 2.5 | 2.7 |
# | 6.1 | | | 2.5 | |
# | 7.0 | | | 2.7 | |
# | 7.1 | | | 2.7 | |
# | 6.0 | 6/2023 | 3/2023 | 2.5 | 2.7 |
# | 6.1 | 10/2024 | | 2.5 | |
# | 7.0 | 4/2025 | | 2.7 | |
# | 7.1 | 10/2025 | | 2.7 | |
# | 7.2 | 8/2026 | | 3.1 | |
ruby: ['3.0', '3.1', '3.2', '3.3']
gemfile: ['gemfiles/rails_6.1.gemfile', 'gemfiles/rails_7.0.gemfile', 'gemfiles/rails_7.1.gemfile']
gemfile:
- 'gemfiles/rails_6.1.gemfile'
- 'gemfiles/rails_7.0.gemfile'
- 'gemfiles/rails_7.1.gemfile'
- 'gemfiles/rails_7.2.gemfile'
include:
- ruby: '2.4'
gemfile: 'gemfiles/rails_5.0.gemfile'
Expand All @@ -42,6 +47,9 @@ jobs:
gemfile: 'gemfiles/rails_5.2.gemfile'
- ruby: '2.7'
gemfile: 'gemfiles/rails_6.0.gemfile'
exclude:
- ruby: '3.0'
gemfile: 'gemfiles/rails_7.2.gemfile'
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ pkg
rdoc
vendor/bundle
gemfiles/.bundle
gemfiles/vendor
gemfiles/*.lock
17 changes: 17 additions & 0 deletions gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source 'http://rubygems.org/'

gem 'activerecord', '~> 7.2.0'
gem 'rspec', '~> 3.9'
gem 'rake', '~> 13.0'
gem 'json'
gem 'test-unit'

platform :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.6'
end

platform :ruby do
gem 'sqlite3', '~> 1.4', '< 2.0' # can allow 2.0 once Rails's sqlite adapter allows it
end

gemspec :path => '../'

0 comments on commit f9ee4a4

Please sign in to comment.