Skip to content

Merge pull request #99 from fluent/fix-ci-for-ruby-2.7 #36

Merge pull request #99 from fluent/fix-ci-for-ruby-2.7

Merge pull request #99 from fluent/fix-ci-for-ruby-2.7 #36

Workflow file for this run

name: linux
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
os:
- ubuntu-latest
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: unit testing
env:
CI: true
run: |
gem install rake
gem install bundler ${{ matrix.ruby == '2.7' && '-v 2.4.22' || '' }}
bundle install --jobs 4 --retry 3
bundle exec rake spec