Skip to content

Merge pull request #11 from unicorn-ruby/sync-upstream #17

Merge pull request #11 from unicorn-ruby/sync-upstream

Merge pull request #11 from unicorn-ruby/sync-upstream #17

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3', 'ruby-head']
gemfile: ['rack-2', 'rack-3']
name: Ruby ${{ matrix.ruby }} - Rack ${{ matrix.gemfile }}
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- name: Install ragel
run: sudo apt-get install -y ragel
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run tests with perl prove
run: make -j1 && prove -vw