Enable 2.5 testing by backporting minitest/test_task.rb
#23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test with ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
# Find the versions available at https://github.com/ruby/setup-ruby/blob/master/ruby-builder-versions.json | |
ruby: | |
- '3.3.1' | |
- '3.2.4' | |
- '3.1.5' | |
- '3.0.6' | |
- '2.7.8' | |
- '2.6.10' | |
- '2.5.9' # TODO: Missing `minitest/test_task` in minitest 5.15.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run the test | |
run: bundle exec rake test |