Skip to content

Commit

Permalink
Add a GitHub Action workflow for CI
Browse files Browse the repository at this point in the history
Trying to get GitHub Actions going for the project.
  • Loading branch information
enkessler committed Jun 2, 2021
1 parent 6ace7a6 commit 4247581
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,23 @@
name: CI

on: [push, pull_request]

jobs:

test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby-version: ['2.4, '2.5', '2.6', '2.7', '3.0']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run Tests
run: bundle exec rake spec

0 comments on commit 4247581

Please sign in to comment.