diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1488b34..2b01843 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,9 @@ jobs: matrix: ruby: ["2.7", "3.0", "3.1", "3.2"] rails: ["6.1", "7.0"] + include: + - ruby: "3.2" + rails: "main" env: RAILS_ENV: test diff --git a/Gemfile b/Gemfile index 624a304..37b905c 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ rails_version = ENV.fetch("RAILS_VERSION", "6.0") if rails_version == "main" rails_constraint = { github: "rails/rails" } + gem "rack", "< 3" # To compatible with capybara. https://github.com/teamcapybara/capybara/issues/2640 else rails_constraint = "~> #{rails_version}" end