Skip to content

Commit

Permalink
Add CI test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Nov 7, 2021
1 parent f19b6b9 commit 79f6ea1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci

on:
pull_request:
branches:
- "*"
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version: [2.7.2, 3.0.0]
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
# Has to be top level to cache properly
env:
BUNDLE_JOBS: 4
BUNDLE_PATH: "vendor/bundle"
steps:
- uses: actions/checkout@master
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Test with Rake
run: bundle exec rake

0 comments on commit 79f6ea1

Please sign in to comment.