Skip to content

Add test workflow by GitHub Actions #6

Add test workflow by GitHub Actions

Add test workflow by GitHub Actions #6

Workflow file for this run

name: Run test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.0
- 2.3.8
- 2.4.10
- 2.5.9
- 2.6.10
- 2.7.8
- 3.0.6
- 3.1.4
- 3.2.2
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake