Skip to content

Commit

Permalink
More changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Dec 15, 2024
1 parent aff3c1d commit a160bab
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on: [push, pull_request]

jobs:
test:
name: ${{matrix.ruby}} ${{matrix.gemfile}}
runs-on: ${{matrix.os}}-latest
continue-on-error: ${{matrix.experimental}}

env:
BUNDLE_GEMFILE: ${{matrix.gemfile}}

strategy:
matrix:
experimental: [false]
Expand All @@ -23,6 +27,8 @@ jobs:
- 3.2
- 3.3

gemfile: ["Gemfile"]

include:
- os: macos
ruby: 3.3
Expand All @@ -32,11 +38,11 @@ jobs:
- experimental: true
os: ubuntu
ruby: 2.7
env: BUNDLE_GEMFILE=gems/rack-v1.rb
gemfile: gems/rack-v1.rb
- experimental: true
os: ubuntu
ruby: 3.2
env: BUNDLE_GEMFILE=gems/rack-v2.rb
gemfile: gems/rack-v2.rb
# enable when rack v3 is supported
# - experimental: true
# os: ubuntu
Expand All @@ -45,12 +51,11 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}

- name: Install dependencies
run: ${{matrix.env}} bundle install
bundler-cache: true

- name: Run tests
run: ${{matrix.env}} bundle exec rake
run: bundle exec rake

0 comments on commit a160bab

Please sign in to comment.