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 68c3fd4 commit b3a5700
Show file tree
Hide file tree
Showing 7 changed files with 247 additions and 29 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- '7.0.0'
- '7.1.0'
- '7.2.0'
- '8.0.0'
exclude:
- ruby: '3.1'
activerecord: '8.0.0'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activerecord_${{ matrix.activerecord }}.gemfile
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ end
appraise 'activerecord_7.2.0' do
gem 'activerecord', '~> 7.2.0', '< 7.3'
end

appraise 'activerecord_8.0.0' do
gem 'activerecord', '8.0.0.beta1', '< 9'
end
10 changes: 4 additions & 6 deletions gemfiles/activerecord_7.0.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
mini_portile2 (2.8.7)
minitest (5.25.1)
mutex_m (0.2.0)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
ostruct (0.6.0)
parallel (1.26.3)
Expand Down Expand Up @@ -152,9 +152,7 @@ GEM
zeitwerk (2.6.18)

PLATFORMS
x86_64-darwin-22
x86_64-darwin-23
x86_64-linux
ruby

DEPENDENCIES
activerecord (~> 7.0, < 7.1)
Expand Down
10 changes: 4 additions & 6 deletions gemfiles/activerecord_7.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
mini_portile2 (2.8.7)
minitest (5.25.1)
mutex_m (0.2.0)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
ostruct (0.6.0)
parallel (1.26.3)
Expand Down Expand Up @@ -182,9 +182,7 @@ GEM
zeitwerk (2.6.18)

PLATFORMS
x86_64-darwin-22
x86_64-darwin-23
x86_64-linux
ruby

DEPENDENCIES
activerecord (~> 7.1, < 7.2)
Expand Down
21 changes: 4 additions & 17 deletions gemfiles/activerecord_7.2.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,10 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
mini_portile2 (2.8.7)
minitest (5.25.1)
nokogiri (1.16.7-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.7-arm-linux)
racc (~> 1.4)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86-linux)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
ostruct (0.6.0)
parallel (1.26.3)
Expand Down Expand Up @@ -193,12 +185,7 @@ GEM
zeitwerk (2.6.18)

PLATFORMS
aarch64-linux
arm-linux
arm64-darwin
x86-linux
x86_64-darwin
x86_64-linux
ruby

DEPENDENCIES
activerecord (~> 7.2.0, < 7.3)
Expand Down
18 changes: 18 additions & 0 deletions gemfiles/activerecord_8.0.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "bundler", "~> 2.0"
gem "combustion", "~> 1.4"
gem "database_cleaner-active_record", "~> 2.2"
gem "pry"
gem "rake", "13.0.3"
gem "rspec", "~> 3.0"
gem "rubocop-rspec", "~> 2.3"
gem "scenic", "~> 1.5"
gem "simplecov", "~> 0.16"
gem "ostruct"
gem "activerecord", "8.0.0.beta1", "< 9"

gemspec path: "../"
209 changes: 209 additions & 0 deletions gemfiles/activerecord_8.0.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
PATH
remote: ..
specs:
table_saw (3.2.0)
activerecord (>= 7.0)
pg
thor

GEM
remote: https://rubygems.org/
specs:
actionpack (8.0.0.beta1)
actionview (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
nokogiri (>= 1.8.5)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionview (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
activerecord (8.0.0.beta1)
activemodel (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
timeout (>= 0.4.0)
activesupport (8.0.0.beta1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.8)
builder (3.3.0)
coderay (1.1.3)
combustion (1.5.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
docile (1.4.1)
drb (2.2.1)
erubi (1.13.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
irb (1.14.1)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.2)
language_server-protocol (3.17.0.3)
logger (1.6.1)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.1.0)
mini_portile2 (2.8.7)
minitest (5.25.1)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
ostruct (0.6.0)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
pg (1.5.8)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (5.1.2)
stringio
racc (1.8.1)
rack (3.1.7)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack (>= 1.3)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.0.3)
rdoc (6.7.0)
psych (>= 4.0.0)
regexp_parser (2.9.2)
reline (0.5.10)
io-console (~> 0.5)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-rspec (2.31.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.29.1)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
scenic (1.8.0)
activerecord (>= 4.0.0)
railties (>= 4.0.0)
securerandom (0.3.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
stringio (3.1.1)
thor (1.3.2)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
uri (0.13.1)
useragent (0.16.10)
webrick (1.8.2)
zeitwerk (2.6.18)

PLATFORMS
ruby

DEPENDENCIES
activerecord (= 8.0.0.beta1, < 9)
appraisal
bundler (~> 2.0)
combustion (~> 1.4)
database_cleaner-active_record (~> 2.2)
ostruct
pry
rake (= 13.0.3)
rspec (~> 3.0)
rubocop-rspec (~> 2.3)
scenic (~> 1.5)
simplecov (~> 0.16)
table_saw!

BUNDLED WITH
2.5.18

0 comments on commit b3a5700

Please sign in to comment.