Skip to content

Upgrade Minitest to version 5.22.x (Drop Ruby 2.4 and 2.5 from CI) #403

Upgrade Minitest to version 5.22.x (Drop Ruby 2.4 and 2.5 from CI)

Upgrade Minitest to version 5.22.x (Drop Ruby 2.4 and 2.5 from CI) #403

Workflow file for this run

# .github/workflows/main.yml
name: CI
on: [push, pull_request]
jobs:
test-ruby-2-4-x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby 2.4
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
- name: Build and run tests
env:
BUNDLE_GEMFILE: "Gemfile-Ruby-2-4"
run: |
gem install bundler -v 2.3
bundle install --jobs 4 --retry 3
bundle exec rake
test-ruby-2-5-x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby 2.5
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
- name: Build and run tests
env:
BUNDLE_GEMFILE: "Gemfile-Ruby-2-5"
run: |
gem install bundler -v 2.3.26
bundle install --jobs 4 --retry 3
bundle exec rake
test-ruby:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu]
ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@v2
- name: Setup Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler -v 2.4.6
bundle install --jobs 4 --retry 3
bundle exec rake