Skip to content

Commit

Permalink
Merge pull request #15 from unhappychoice/feature/githubAction
Browse files Browse the repository at this point in the history
👍 Add GitHub action file
  • Loading branch information
unhappychoice committed Sep 23, 2019
2 parents 6d7d381 + 1f5f21d commit b6458a6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,22 @@
name: test

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.6.x', '2.5.x', '2.4.x', '2.3.x']
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: actions/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

0 comments on commit b6458a6

Please sign in to comment.