Remove older ruby versions, add in Ruby 3.1, don't test against Ruby head for now.
@@ -5,7 +5,7 @@ on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: >-
- ${{ matrix.os }} ${{ matrix.ruby }}${{ matrix.no-ssl }}${{ matrix.yjit }}
+ ${{ matrix.os }} ${{ matrix.ruby }}${{ matrix.yjit }}
env:
TESTOPTS: -v
@@ -17,13 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-18.04, macos-11, windows-2022 ]
- ruby: [ head, '3.0', 2.7, 2.6, 2.5 ]
- yjit: ['']
- include:
- - { os: windows-2022 , ruby: ucrt }
- - { os: ubuntu-20.04 , ruby: head , yjit: ' yjit' }
- exclude:
- - { os: windows-2022 , ruby: head }
+ ruby: [ 3.1, 3.0, 2.7 ]
steps:
- name: repo checkout
@@ -43,11 +37,6 @@ jobs:
- name: compile
run: bundle exec rake compile
- - name: Use yjit
- if: matrix.yjit == ' yjit'
- shell: bash
- run: echo 'RUBYOPT=--yjit' >> $GITHUB_ENV
-
- name: test
timeout-minutes: 10
run: bundle exec rake test
