Skip to content

CI: test against Rack v2 and v3 #121

CI: test against Rack v2 and v3

CI: test against Rack v2 and v3 #121

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test (Ruby ${{ matrix.ruby }}, Rack ${{ matrix.rack }})
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "4.0"]
rack: ["2", "3"]
experimental: [false]
include:
- ruby: "ruby-head"
rack: "3"
experimental: true
env:
RACK_VERSION: ${{ matrix.rack }}
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: "bundle exec rubocop lib/ spec/"
- run: "bundle exec rspec spec/ -b"