1
0
Fork 0

Test multiple rubies

This commit is contained in:
Andrew Tomaka 2019-08-27 23:48:33 -04:00 committed by GitHub
parent cd8eb40c9a
commit 5b5609c819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -3,18 +3,20 @@ name: Ruby
on: [push]
jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version: [2.4.x, 2.5.x, 2.6.x]
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: ${{ matrix.ruby_version }}
- name: Build and test with Rake
run: |
gem install bundler -v 1.16
bundle install --jobs 4 --retry 3
bundle exec rake
bundle exec rspec