Skip to content

Commit

Permalink
Merge pull request #33 from jrafanie/update_ci_rubies_27_30
Browse files Browse the repository at this point in the history
Test ruby 2.7/3.0
  • Loading branch information
kbrock authored Sep 21, 2022
2 parents e7cec0a + bb1d608 commit ab9f9f9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
---
name: CI

on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'

- cron: 0 0 * * 0
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.6'
- '2.7'
- '3.0'
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}"
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: "${{ matrix.ruby-version }}"
bundler-cache: true
timeout-minutes: 30
- name: Run tests
run: bundle exec rake
- name: Report code coverage
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}
if: "${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}"
continue-on-error: true
uses: paambaati/[email protected]

0 comments on commit ab9f9f9

Please sign in to comment.