Skip to content

Commit

Permalink
ci: Add Rails 8 to testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hasghari committed Sep 27, 2024
1 parent 3d86b14 commit becfb09
Show file tree
Hide file tree
Showing 15 changed files with 299 additions and 61 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ jobs:
- 6.1.0
- 7.0.0
- 7.1.0
- 7.2.0
- 8.0.0
strategy:
- array
- ltree
exclude:
- ruby: '3.1'
activerecord: 8.0.0

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activerecord_${{ matrix.activerecord }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.3.4
ruby 3.3.5
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ end
appraise 'activerecord_7.2.0' do
gem 'activerecord', '~> 7.2', '< 8'
end

appraise 'activerecord_8.0.0' do
gem 'activerecord', '8.0.0.beta1', '< 9'
end
12 changes: 6 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ source 'https://rubygems.org'
gemspec

gem 'appraisal'
gem 'bundler', '~> 2'
gem 'combustion', '~> 1.4'
gem 'bundler'
gem 'combustion'
gem 'database_cleaner', '~> 2'
gem 'pg', '~> 1.5'
gem 'pry', '~> 0.13'
gem 'rake', '~> 13'
gem 'rspec-rails', '~> 6.1'
gem 'rubocop-rspec', '~> 2'
gem 'pry'
gem 'rake'
gem 'rspec-rails'
gem 'rubocop-rspec'
gem 'simplecov', '~> 0.20'
12 changes: 6 additions & 6 deletions gemfiles/activerecord_6.1.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
source "https://rubygems.org"

gem "appraisal"
gem "bundler", "~> 2"
gem "combustion", "~> 1.4"
gem "bundler"
gem "combustion"
gem "database_cleaner", "~> 2"
gem "pg", "~> 1.5"
gem "pry", "~> 0.13"
gem "rake", "~> 13"
gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "pry"
gem "rake"
gem "rspec-rails"
gem "rubocop-rspec"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 6.1", "< 6.2"
gem "base64"
Expand Down
14 changes: 7 additions & 7 deletions gemfiles/activerecord_6.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ GEM
bigdecimal (3.1.8)
builder (3.2.4)
coderay (1.1.3)
combustion (1.4.0)
combustion (1.5.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
Expand Down Expand Up @@ -163,17 +163,17 @@ DEPENDENCIES
appraisal
base64
bigdecimal
bundler (~> 2)
combustion (~> 1.4)
bundler
combustion
database_cleaner (~> 2)
drb
mutex_m
parentry!
pg (~> 1.5)
pry (~> 0.13)
rake (~> 13)
rspec-rails (~> 6.1)
rubocop-rspec (~> 2)
pry
rake
rspec-rails
rubocop-rspec
simplecov (~> 0.20)

BUNDLED WITH
Expand Down
12 changes: 6 additions & 6 deletions gemfiles/activerecord_7.0.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
source "https://rubygems.org"

gem "appraisal"
gem "bundler", "~> 2"
gem "combustion", "~> 1.4"
gem "bundler"
gem "combustion"
gem "database_cleaner", "~> 2"
gem "pg", "~> 1.5"
gem "pry", "~> 0.13"
gem "rake", "~> 13"
gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "pry"
gem "rake"
gem "rspec-rails"
gem "rubocop-rspec"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 7.0", "< 7.1"
gem "base64"
Expand Down
14 changes: 7 additions & 7 deletions gemfiles/activerecord_7.0.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GEM
bigdecimal (3.1.8)
builder (3.2.4)
coderay (1.1.3)
combustion (1.4.0)
combustion (1.5.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
Expand Down Expand Up @@ -163,17 +163,17 @@ DEPENDENCIES
appraisal
base64
bigdecimal
bundler (~> 2)
combustion (~> 1.4)
bundler
combustion
database_cleaner (~> 2)
drb
mutex_m
parentry!
pg (~> 1.5)
pry (~> 0.13)
rake (~> 13)
rspec-rails (~> 6.1)
rubocop-rspec (~> 2)
pry
rake
rspec-rails
rubocop-rspec
simplecov (~> 0.20)

BUNDLED WITH
Expand Down
12 changes: 6 additions & 6 deletions gemfiles/activerecord_7.1.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
source "https://rubygems.org"

gem "appraisal"
gem "bundler", "~> 2"
gem "combustion", "~> 1.4"
gem "bundler"
gem "combustion"
gem "database_cleaner", "~> 2"
gem "pg", "~> 1.5"
gem "pry", "~> 0.13"
gem "rake", "~> 13"
gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "pry"
gem "rake"
gem "rspec-rails"
gem "rubocop-rspec"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 7.1", "< 7.2"

Expand Down
14 changes: 7 additions & 7 deletions gemfiles/activerecord_7.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ GEM
bigdecimal (3.1.7)
builder (3.2.4)
coderay (1.1.3)
combustion (1.4.0)
combustion (1.5.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
Expand Down Expand Up @@ -201,15 +201,15 @@ PLATFORMS
DEPENDENCIES
activerecord (~> 7.1, < 7.2)
appraisal
bundler (~> 2)
combustion (~> 1.4)
bundler
combustion
database_cleaner (~> 2)
parentry!
pg (~> 1.5)
pry (~> 0.13)
rake (~> 13)
rspec-rails (~> 6.1)
rubocop-rspec (~> 2)
pry
rake
rspec-rails
rubocop-rspec
simplecov (~> 0.20)

BUNDLED WITH
Expand Down
12 changes: 6 additions & 6 deletions gemfiles/activerecord_7.2.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
source "https://rubygems.org"

gem "appraisal"
gem "bundler", "~> 2"
gem "combustion", "~> 1.4"
gem "bundler"
gem "combustion"
gem "database_cleaner", "~> 2"
gem "pg", "~> 1.5"
gem "pry", "~> 0.13"
gem "rake", "~> 13"
gem "rspec-rails", "~> 6.1"
gem "rubocop-rspec", "~> 2"
gem "pry"
gem "rake"
gem "rspec-rails"
gem "rubocop-rspec"
gem "simplecov", "~> 0.20"
gem "activerecord", "~> 7.2", "< 8"

Expand Down
12 changes: 6 additions & 6 deletions gemfiles/activerecord_7.2.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ PLATFORMS
DEPENDENCIES
activerecord (~> 7.2, < 8)
appraisal
bundler (~> 2)
combustion (~> 1.4)
bundler
combustion
database_cleaner (~> 2)
parentry!
pg (~> 1.5)
pry (~> 0.13)
rake (~> 13)
rspec-rails (~> 6.1)
rubocop-rspec (~> 2)
pry
rake
rspec-rails
rubocop-rspec
simplecov (~> 0.20)

BUNDLED WITH
Expand Down
17 changes: 17 additions & 0 deletions gemfiles/activerecord_8.0.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "bundler"
gem "combustion"
gem "database_cleaner", "~> 2"
gem "pg", "~> 1.5"
gem "pry"
gem "rake"
gem "rspec-rails"
gem "rubocop-rspec"
gem "simplecov", "~> 0.20"
gem "activerecord", "8.0.0.beta1", "< 9"

gemspec path: "../"
Loading

0 comments on commit becfb09

Please sign in to comment.