Skip to content

Commit

Permalink
Setup CI with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nhosoya committed Jun 19, 2020
1 parent 27b1170 commit 9c35966
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: RSpec

on: pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.5', '2.6', '2.7']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake on Ruby ${{ matrix.ruby }}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake spec

0 comments on commit 9c35966

Please sign in to comment.