Skip to content

Support Ruby 2.7+ for v2.0 #563

Support Ruby 2.7+ for v2.0

Support Ruby 2.7+ for v2.0 #563

Workflow file for this run

name: Ruby
on:
push:
branches: [ main ]
pull_request:
branches: [ main, v2.0 ]
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
name: Ruby ${{ matrix.ruby }} test (${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- run: bundle install
- run: bundle exec rake
app-tests:
name: ${{ matrix.repo }} feature specs
runs-on: ubuntu-latest
strategy:
matrix:
repo:
- ruby-app
- ruby-bare
- git-ruby
- hanami-app
- rails-app
- rspec-rails
- rspec-ruby
- bundler-app
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: false
- run: bin/test/${{ matrix.repo }}