Skip to content

Commit

Permalink
Improve ActiveSupport testing
Browse files Browse the repository at this point in the history
  • Loading branch information
santib committed Oct 25, 2023
1 parent 070e467 commit 9e20cac
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 4 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ jobs:
- redis_5
- redis_4
- connection_pool_dalli
- active_support_redis_cache_store
- active_support_redis_cache_store_pooled
- active_support_7_1_redis_cache_store
- active_support_7_1_redis_cache_store_pooled
- active_support_7_0_redis_cache_store
- active_support_7_0_redis_cache_store_pooled
- active_support_6_redis_cache_store
- active_support_6_redis_cache_store_pooled
- active_support_5_redis_cache_store
- active_support_5_redis_cache_store_pooled
- redis_store
Expand Down Expand Up @@ -88,10 +92,26 @@ jobs:
ruby: 2.6.10
- gemfile: rails_7_0
ruby: 2.5.8
- gemfile: active_support_7_0_redis_cache_store
ruby: 2.5.8
- gemfile: active_support_7_0_redis_cache_store
ruby: 2.6.10
- gemfile: active_support_7_0_redis_cache_store_pooled
ruby: 2.5.8
- gemfile: active_support_7_0_redis_cache_store_pooled
ruby: 2.6.10
- gemfile: rails_7_1
ruby: 2.6.10
- gemfile: rails_7_1
ruby: 2.5.8
- gemfile: active_support_7_1_redis_cache_store
ruby: 2.5.8
- gemfile: active_support_7_1_redis_cache_store
ruby: 2.6.10
- gemfile: active_support_7_1_redis_cache_store_pooled
ruby: 2.5.8
- gemfile: active_support_7_1_redis_cache_store_pooled
ruby: 2.6.10
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
Expand Down
26 changes: 24 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,34 @@ appraise "connection_pool_dalli" do
gem "dalli", "~> 3.0"
end

appraise "active_support_redis_cache_store" do
appraise "active_support_7-1_redis_cache_store" do
gem "activesupport", "~> 7.1.0"
gem "redis", "~> 5.0"
end

appraise "active_support_7-1_redis_cache_store_pooled" do
gem "activesupport", "~> 7.1.0"
gem "connection_pool", "~> 2.2"
gem "redis", "~> 5.0"
end

appraise "active_support_7-0_redis_cache_store" do
gem "activesupport", "~> 7.0.0"
gem "redis", "~> 5.0"
end

appraise "active_support_7-0_redis_cache_store_pooled" do
gem "activesupport", "~> 7.0.0"
gem "connection_pool", "~> 2.2"
gem "redis", "~> 5.0"
end

appraise "active_support_6_redis_cache_store" do
gem "activesupport", "~> 6.1.0"
gem "redis", "~> 5.0"
end

appraise "active_support_redis_cache_store_pooled" do
appraise "active_support_6_redis_cache_store_pooled" do
gem "activesupport", "~> 6.1.0"
gem "connection_pool", "~> 2.2"
gem "redis", "~> 5.0"
Expand Down
13 changes: 13 additions & 0 deletions gemfiles/active_support_7_0_redis_cache_store.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activesupport", "~> 7.0.0"
gem "redis", "~> 5.0"

group :maintenance, optional: true do
gem "bake"
gem "bake-gem"
end

gemspec path: "../"
14 changes: 14 additions & 0 deletions gemfiles/active_support_7_0_redis_cache_store_pooled.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activesupport", "~> 7.0.0"
gem "connection_pool", "~> 2.2"
gem "redis", "~> 5.0"

group :maintenance, optional: true do
gem "bake"
gem "bake-gem"
end

gemspec path: "../"
13 changes: 13 additions & 0 deletions gemfiles/active_support_7_1_redis_cache_store.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activesupport", "~> 7.1.0"
gem "redis", "~> 5.0"

group :maintenance, optional: true do
gem "bake"
gem "bake-gem"
end

gemspec path: "../"
14 changes: 14 additions & 0 deletions gemfiles/active_support_7_1_redis_cache_store_pooled.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activesupport", "~> 7.1.0"
gem "connection_pool", "~> 2.2"
gem "redis", "~> 5.0"

group :maintenance, optional: true do
gem "bake"
gem "bake-gem"
end

gemspec path: "../"

0 comments on commit 9e20cac

Please sign in to comment.