Skip to content

Commit

Permalink
Merge 8e3db6a into 12bf9b7
Browse files Browse the repository at this point in the history
  • Loading branch information
meineerde committed Jul 16, 2020
2 parents 12bf9b7 + 8e3db6a commit be8f8ba
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
rspec:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby:
- 2.7
- 2.6
- 2.5
- 2.4
- 2.3
- 2.2
- head

- jruby-9.1
- jruby-9.2
- jruby-head

- truffleruby
- truffleruby-head

continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'truffleruby' }}

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: rspec
run: bundle exec rspec

0 comments on commit be8f8ba

Please sign in to comment.