Skip to content

Commit

Permalink
chore: test ruby 3.3 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored Jan 22, 2024
1 parent b59cf32 commit 8b5ee56
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
- gemfiles/active_record_6.0.gemfile
- gemfiles/active_record_6.1.gemfile
- gemfiles/active_record_7.0.gemfile
- gemfiles/active_record_7.1.gemfile
- gemfiles/active_record_edge.gemfile
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfiles }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2']
ruby-version: ['3.0', '3.1', '3.2', '3.3']
gemfiles:
- gemfiles/active_record_6.0.gemfile
- gemfiles/active_record_6.1.gemfile
- gemfiles/active_record_7.0.gemfile
- gemfiles/active_record_7.1.gemfile
- gemfiles/active_record_edge.gemfile
exclude:
- ruby-version: '3.0'
gemfiles: gemfiles/active_record_edge.gemfile
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfiles }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
8 changes: 7 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ end
appraise 'active_record_7.0' do
gem "sqlite3", platforms: [:mri, :rbx]
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", '~> 7.0.4'
gem "activerecord", '~> 7.0.5'
end

appraise 'active_record_7.1' do
gem "sqlite3", platforms: [:mri, :rbx]
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", '~> 7.1.3'
end

appraise "active_record_edge" do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active_record_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "sqlite3", platforms: [:mri, :rbx]
gem "sqlite3", platforms: :mri
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", "~> 6.0.3"

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active_record_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "sqlite3", platforms: [:mri, :rbx]
gem "sqlite3", platforms: :mri
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", "~> 6.1.3"

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/active_record_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

gem "sqlite3", platforms: [:mri, :rbx]
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", "~> 7.0.4"
gem "activerecord", "~> 7.0.5"

platforms :mri do
gem "pry-byebug"
Expand Down
13 changes: 13 additions & 0 deletions gemfiles/active_record_7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "sqlite3", platforms: [:mri, :rbx]
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", "~> 7.1.3"

platforms :mri do
gem "pry-byebug"
end

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/active_record_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "sqlite3", platforms: [:mri, :rbx]
gem "sqlite3", platforms: :mri
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "activerecord", github: "rails/rails", branch: "main"
gem "activemodel", github: "rails/rails", branch: "main"
Expand Down

0 comments on commit 8b5ee56

Please sign in to comment.