Skip to content

Commit

Permalink
Merge branch 'github-actions-for-ci' into going-crazy-with-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Dec 2, 2020
2 parents 54d36a6 + 286979f commit 93d62b4
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,41 @@
---
name: ci
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
test:
name: "Ruby {{ matrix.ruby }}"
strategy:
fail-fast: false
matrix:
ruby:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
experimental: [false]
include:
- ruby: "ruby-head"
experimental: true
- ruby: "truffleruby-head"
experimental: true
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}

steps:
- uses: actions/checkout@v2

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

- name: Run tests
run: bundle exec rspec

0 comments on commit 93d62b4

Please sign in to comment.