diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d374fd2..018aab1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,16 @@ jobs: env: BUNDLE_GEMFILE: Gemfile name: "Test and lint: Ruby ${{ matrix.ruby }}" + services: + redis: + image: redis + ports: + - 6379:6379 + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 steps: - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby }} diff --git a/Gemfile b/Gemfile index 4c31a90..4df35fa 100644 --- a/Gemfile +++ b/Gemfile @@ -8,5 +8,4 @@ gemspec gem "rake" gem "rspec" gem "standard" -gem "fakeredis" gem "connection_pool" diff --git a/Gemfile.lock b/Gemfile.lock index 4ee65a4..c50795f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -49,8 +49,6 @@ GEM diff-lcs (1.6.2) drb (2.2.3) erubi (1.12.0) - fakeredis (0.9.2) - redis (~> 4.8) i18n (1.15.2) concurrent-ruby (~> 1.0) io-console (0.7.2) @@ -116,7 +114,10 @@ GEM rake (13.4.2) rdoc (6.6.3.1) psych (>= 4.0.0) - redis (4.8.1) + redis (5.4.1) + redis-client (>= 0.22.0) + redis-client (0.30.0) + connection_pool regexp_parser (2.12.0) reline (0.5.7) io-console (~> 0.5) @@ -189,7 +190,6 @@ PLATFORMS DEPENDENCIES bigrails-redis! connection_pool - fakeredis rake rspec standard diff --git a/spec/support/fakeredis.rb b/spec/support/fakeredis.rb deleted file mode 100644 index 8274e7c..0000000 --- a/spec/support/fakeredis.rb +++ /dev/null @@ -1 +0,0 @@ -require "fakeredis/rspec"