Skip to content

Commit

Permalink
ci: gh actions: update
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Jan 8, 2021
1 parent 7fced48 commit d8fa437
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ruby.yml
@@ -0,0 +1,29 @@
name: Ruby CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.5', '2.6', '2.7', 'jruby-head', 'ruby-head']
gemfile: ['Gemfile']
exclude:
- ruby: 2.7
gemfile: activesupport-4.2.x
- ruby: ruby-head
gemfile: activesupport-4.2.x
- ruby: jruby-head
gemfile: activesupport-4.2.x
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
name: Ruby ${{ matrix.ruby }} with ${{ matrix.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

0 comments on commit d8fa437

Please sign in to comment.