Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
- Test against multiple Ruby version
- Experimental tests against ruby-head to spot issues in advance
  • Loading branch information
tagliala committed Sep 10, 2024
1 parent 421ff76 commit 29f65aa
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.1', '3.2', '3.3']
channel: ['stable']

include:
- ruby-version: 'head'
channel: 'experimental'

continue-on-error: ${{ matrix.channel != 'stable' }}

steps:
- uses: actions/checkout@v4
- name: Set up Ruby 2.7
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
ruby-version: '3.3'
bundler-cache: true
- name: Test with Rake
run: |
Expand Down

0 comments on commit 29f65aa

Please sign in to comment.