From a99b8c319e6360e85155bc819b664f81495187d0 Mon Sep 17 00:00:00 2001 From: Peter Cai <222655+pcai@users.noreply.github.com> Date: Sun, 29 Sep 2024 13:01:10 -0400 Subject: [PATCH] Test rails 7.1 and 7.2 (#242) --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ CHANGELOG.md | 2 ++ gemfiles/rails_7_1.gemfile | 13 +++++++++++++ gemfiles/rails_7_2.gemfile | 13 +++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 gemfiles/rails_7_1.gemfile create mode 100644 gemfiles/rails_7_2.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 946abbb..b804102 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,12 @@ jobs: # gemfile: gemfiles/rails_6_0.gemfile # - ruby: "2.5" # gemfile: gemfiles/rails_6_1.gemfile + - ruby: "2.6" + gemfile: gemfiles/rails_5_2.gemfile + # - ruby: "2.6" + # gemfile: gemfiles/rails_6_0.gemfile + # - ruby: "2.6" + # gemfile: gemfiles/rails_6_1.gemfile - ruby: "2.7" gemfile: gemfiles/rails_5_1.gemfile - ruby: "2.7" @@ -29,30 +35,46 @@ jobs: gemfile: gemfiles/rails_6_1.gemfile - ruby: "2.7" gemfile: gemfiles/rails_7_0.gemfile + - ruby: "2.7" + gemfile: gemfiles/rails_7_1.gemfile - ruby: "3.0" gemfile: gemfiles/rails_6_0.gemfile - ruby: "3.0" gemfile: gemfiles/rails_6_1.gemfile - ruby: "3.0" gemfile: gemfiles/rails_7_0.gemfile + - ruby: "3.0" + gemfile: gemfiles/rails_7_1.gemfile - ruby: "3.1" gemfile: gemfiles/rails_6_0.gemfile - ruby: "3.1" gemfile: gemfiles/rails_6_1.gemfile - ruby: "3.1" gemfile: gemfiles/rails_7_0.gemfile + - ruby: "3.1" + gemfile: gemfiles/rails_7_1.gemfile + - ruby: "3.1" + gemfile: gemfiles/rails_7_2.gemfile - ruby: "3.2" gemfile: gemfiles/rails_6_0.gemfile - ruby: "3.2" gemfile: gemfiles/rails_6_1.gemfile - ruby: "3.2" gemfile: gemfiles/rails_7_0.gemfile + - ruby: "3.2" + gemfile: gemfiles/rails_7_1.gemfile + - ruby: "3.2" + gemfile: gemfiles/rails_7_2.gemfile - ruby: "3.3" gemfile: gemfiles/rails_6_0.gemfile - ruby: "3.3" gemfile: gemfiles/rails_6_1.gemfile - ruby: "3.3" gemfile: gemfiles/rails_7_0.gemfile + - ruby: "3.3" + gemfile: gemfiles/rails_7_1.gemfile + - ruby: "3.3" + gemfile: gemfiles/rails_7_2.gemfile - ruby: "head" gemfile: gemfiles/rails_head.gemfile env: diff --git a/CHANGELOG.md b/CHANGELOG.md index b7dcaf3..def0efc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ## HEAD +- Support ruby-statistics 4.x (https://github.com/zombocom/derailed_benchmarks/pull/238, https://github.com/zombocom/derailed_benchmarks/pull/239) - Repair tests, support ruby-statistics in ruby < 3.0 (https://github.com/zombocom/derailed_benchmarks/pull/241) +- Test Rails 7.1 and 7.2 (https://github.com/zombocom/derailed_benchmarks/pull/242) ## 2.1.2 diff --git a/gemfiles/rails_7_1.gemfile b/gemfiles/rails_7_1.gemfile new file mode 100644 index 0000000..473e02b --- /dev/null +++ b/gemfiles/rails_7_1.gemfile @@ -0,0 +1,13 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.1.0" + +group :development, :test do + gem "sqlite3", '~> 1.4', platform: [:ruby, :mswin, :mingw] + gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", platform: :jruby + gem "test-unit", "~> 3.0" +end + +gemspec path: "../" diff --git a/gemfiles/rails_7_2.gemfile b/gemfiles/rails_7_2.gemfile new file mode 100644 index 0000000..d75a262 --- /dev/null +++ b/gemfiles/rails_7_2.gemfile @@ -0,0 +1,13 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.2.0" + +group :development, :test do + gem "sqlite3", '~> 1.4', platform: [:ruby, :mswin, :mingw] + gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.13", platform: :jruby + gem "test-unit", "~> 3.0" +end + +gemspec path: "../"