Skip to content

Commit

Permalink
Start testing with Rails 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
donv committed Dec 31, 2024
1 parent 95798e9 commit 6af4755
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
workflow_dispatch:

env:
BUNDLE_GEMFILE: gemfiles/rails72_gems.rb
BUNDLE_GEMFILE: gemfiles/rails80_gems.rb
DEBIAN_FRONTEND: noninteractive
FERRUM_PROCESS_TIMEOUT: 40
JAVA_OPTS: -Xmn2g -Xms6g -Xmx6g -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m -Xss1m
Expand Down Expand Up @@ -96,18 +96,19 @@ jobs:
- rails70_gems.rb
- rails71_gems.rb
- rails72_gems.rb
- rails80_gems.rb
experimental: [ false ]
exclude:
# We already tested last version
- ruby-version: 3.4
gemfile: rails72_gems.rb
gemfile: rails80_gems.rb
experimental: false
include:
- ruby-version: 3.4
gemfile: edge_gems.rb
experimental: true
- ruby-version: jruby-head
gemfile: rails72_gems.rb
gemfile: rails80_gems.rb
experimental: true

env:
Expand Down
2 changes: 0 additions & 2 deletions gemfiles/edge_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@
git "https://github.com/rails/rails.git" do
gem "actionpack"
end

gem "capybara", ">= 3.26"
3 changes: 1 addition & 2 deletions gemfiles/rails70_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
gems = "#{File.dirname __dir__}/gems.rb"
eval File.read(gems), binding, gems

gem "actionpack", "~> 7.0", "< 7.1"
gem "capybara", ">= 3.26"
gem "actionpack", "~> 7.0.0"
gem 'mutex_m'
gem 'drb'
gem 'bigdecimal'
3 changes: 1 addition & 2 deletions gemfiles/rails71_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
gems = "#{File.dirname __dir__}/gems.rb"
eval File.read(gems), binding, gems

gem "actionpack", "~> 7.1", "< 7.2"
gem "capybara", ">= 3.26"
gem "actionpack", "~> 7.1.0"
1 change: 0 additions & 1 deletion gemfiles/rails72_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
eval File.read(gems), binding, gems

gem "actionpack", "~> 7.2.0"
gem "capybara", ">= 3.26"
6 changes: 6 additions & 0 deletions gemfiles/rails80_gems.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

gems = "#{File.dirname __dir__}/gems.rb"
eval File.read(gems), binding, gems

gem "actionpack", "~> 8.0.0"
3 changes: 2 additions & 1 deletion gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
gem "ruby-vips", require: false

group :test do
gem 'mutex_m' # Needed for RubyMine
gem "capybara", ">= 3.26"
gem 'mutex_m' # Needed for RubyMine debugging. Try removing it.
gem "minitest", require: false
gem "minitest-stub-const", require: false
gem "simplecov", require: false
Expand Down

0 comments on commit 6af4755

Please sign in to comment.