Skip to content

Commit

Permalink
multiverse for rails edge failures
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Jan 2, 2024
1 parent 0014784 commit 7348f6e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/multiverse/lib/multiverse/envfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def unshift_rails_edge(gem_version_array = [])
# NOTE: The Rails Edge version is not tested unless the Ruby version in
# play is greater than or equal to (>=) the version number at the
# end of the unshifted inner array
gem_version_array.unshift(["github: 'rails'", 3.0])
gem_version_array.unshift(["github: 'rails'", 3.1])
end

# are we running in a CI context intended for PR approvals?
Expand Down
3 changes: 2 additions & 1 deletion test/multiverse/suites/active_record_pg/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ end
serialize!

ACTIVERECORD_VERSIONS = [
[nil, 2.7],
[nil, 3.1],
['7.1.0', 2.7],
['7.0.0', 2.7],
['6.1.0', 2.5],
['6.0.0', 2.5, 2.7],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ instrumentation_methods :chain, :prepend
# ActiveSupport::BroadcastLogger introduced in Rails 7.1.
# Rails 7.1 is the latest version at the time of writing.
ACTIVE_SUPPORT_VERSIONS = [
[nil, 2.7]
[nil, 3.1],
['7.1.0', 2.7]
]

unshift_rails_edge(ACTIVE_SUPPORT_VERSIONS)
Expand Down
3 changes: 2 additions & 1 deletion test/multiverse/suites/rails/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# frozen_string_literal: true

RAILS_VERSIONS = [
[nil, 2.7],
[nil, 3.1],
['7.1.0', 2.7],
['7.0.4', 2.7],
['6.1.7', 2.5],
['6.0.6', 2.5, 2.7],
Expand Down
3 changes: 2 additions & 1 deletion test/multiverse/suites/rails_prepend/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# frozen_string_literal: true

RAILS_VERSIONS = [
[nil, 2.7],
[nil, 3.1],
['7.1.0', 2.7],
['7.0.0', 2.7],
['6.1.0', 2.5],
['6.0.0', 2.5, 2.7],
Expand Down

0 comments on commit 7348f6e

Please sign in to comment.