Skip to content

Merge pull request #52 from itkrt2y/master #9

Merge pull request #52 from itkrt2y/master

Merge pull request #52 from itkrt2y/master #9

Workflow file for this run

name: test
on:
push:
branches:
- '*'
pull_request:
# schedule:
# cron: '0 0 * * 0' # every Sunday at 00:00 (UTC)
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec