Skip to content

Commit

Permalink
Add a github action for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Mar 18, 2021
1 parent 18414eb commit 0c3b880
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake

0 comments on commit 0c3b880

Please sign in to comment.