Skip to content

Fix CI failure concerned with Ruby version #1

Fix CI failure concerned with Ruby version

Fix CI failure concerned with Ruby version #1

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: [ '3.3', '3.2', '3.1', '3.0', '2.7' ]
os: ['ubuntu-latest', 'windows-latest']
name: Unit testing with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
env:
CI: true
run: bundle exec rake spec