Skip to content

Add sharding

Add sharding #75

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0']
redis:
- redis:5.0
- redis:6.0
- redis:7.0
services:
redis:
image: ${{ matrix.redis }}
ports:
- 6379:6379
steps:
- uses: actions/checkout@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v1
id: cache
with:
path: vendor/bundler
key: ${{ hashFiles('Gemfile.lock') }}-${{ matrix.ruby }}
- run: |
gem install bundler
bundle install --path=vendor/bundler
bundle exec rspec
bundle exec rubocop