Skip to content

Test on latest Ruby versions too #150

Test on latest Ruby versions too

Test on latest Ruby versions too #150

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: [ 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, ruby-head, truffleruby-head ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
rubyspec:
name: Check ruby/spec still passes with MSpec changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: ruby/spec
path: rubyspec
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler: none
- run: bin/mspec --timeout 30 rubyspec