Merge pull request #333 from irasutoya-tools/fix-ci #623
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ['2.7.8', '2.6.10'] | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install bundler | |
run: gem install bundler | |
- name: Install dependencies | |
run: bundle install --jobs 4 | |
- name: Run test | |
run: bundle exec rspec |