Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move CI to GitHub Actions #134

Merged
merged 16 commits into from Jul 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,40 @@
name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ 2.6, 2.7 ]
rails: [ '5.0', '5.1', '5.2', '6.0', '6.1' ]
include:
- ruby: '3.0'
rails: '6.0'
- ruby: '3.0'
rails: '6.1'
- ruby: head
rails: '6.0'
- ruby: head
rails: '6.1'
- ruby: truffleruby
rails: '6.0'
- ruby: truffleruby
rails: '6.1'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile

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 rake test
continue-on-error: ${{ matrix.ruby == 'head' || matrix.ruby == 'truffleruby' }}
timeout-minutes: 3
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.