Skip to content

Commit

Permalink
Simplify the test matrix
Browse files Browse the repository at this point in the history
Using `ruby` instead of `3.1` will ensure that we always test the latest
stable release without needing to add it manually.
  • Loading branch information
rgrove committed Nov 20, 2022
1 parent 69b4597 commit 55f766e
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
name: Tests
on: [ push, pull_request ]

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby:
- 2.5
- 2.6
- 2.7
- 3.0
- 3.1
- head
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- ruby
- ruby-head
- truffleruby-head

continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}

steps:
- uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Installs and caches dependencies
bundler-cache: true
ruby-version: ${{ matrix.ruby }}

- run: bundle exec rake

0 comments on commit 55f766e

Please sign in to comment.