Skip to content

Commit 831f149

Browse files
authored
Merge pull request #22 from tricknotes/test-on-rails-main
Test on rails main
2 parents 44b7fd8 + 6eafb58 commit 831f149

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
matrix:
1616
ruby: ["2.7", "3.0", "3.1", "3.2"]
1717
rails: ["6.1", "7.0"]
18+
include:
19+
- ruby: "3.2"
20+
rails: "main"
1821

1922
env:
2023
RAILS_ENV: test

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ rails_version = ENV.fetch("RAILS_VERSION", "6.0")
66

77
if rails_version == "main"
88
rails_constraint = { github: "rails/rails" }
9+
gem "rack", "< 3" # To compatible with capybara. https://github.com/teamcapybara/capybara/issues/2640
910
else
1011
rails_constraint = "~> #{rails_version}"
1112
end

0 commit comments

Comments
 (0)