Skip to content

Added Ruby 3.2 (+ 3.3) to the CI matrix. (petergoldstein) #66

Added Ruby 3.2 (+ 3.3) to the CI matrix. (petergoldstein)

Added Ruby 3.2 (+ 3.3) to the CI matrix. (petergoldstein) #66

Workflow file for this run

---
name: CI
# https://github.com/actions/virtual-environments#available-environments
# https://github.com/ruby/setup-ruby/blob/master/README.md#supported-platforms
'on': [push, pull_request, workflow_dispatch]
jobs:
test:
name: >-
test ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
if: |
!( contains(github.event.pull_request.title, '[ci skip]')
|| contains(github.event.pull_request.title, '[skip ci]'))
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
ruby:
- '3.1'
- '3.2'
- '3.3'
- head
steps:
- name: repo checkout
uses: actions/checkout
- name: load ruby
uses: ruby/setup-ruby
with:
ruby-version: ${{ matrix.ruby }}
bundler: none
- name: install minitest # needs to be > 5.16 for minitest/test_task
run: gem install minitest -N
- name: rake test
run: |
rake test
timeout-minutes: 3
isolated:
name: >-
test:isolated
runs-on: ubuntu-latest
if: |
!( contains(github.event.pull_request.title, '[ci skip]')
|| contains(github.event.pull_request.title, '[skip ci]'))
strategy:
fail-fast: false
steps:
- name: repo checkout
uses: actions/checkout
- name: load ruby
uses: ruby/setup-ruby
with:
ruby-version: ruby
bundler: none
- name: install minitest # needs to be > 5.16 for minitest/test_task
run: gem install minitest -N
- name: rake test:isolated
run: |
rake test:isolated
timeout-minutes: 3