Skip to content

Commit

Permalink
test: add tests for rack 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 22, 2023
1 parent c639ecb commit e0efd5d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@ jobs:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- run: "bundle exec rake"
test-with-rack-2:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby_version: ["3.2"]
os: ["ubuntu-latest","windows-latest","macos-latest"]
env:
BUNDLE_GEMFILE: rack-2.gemfile
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- run: "bundle exec rake"
test-with-active-support:
runs-on: ${{ matrix.os }}
env:
Expand Down
3 changes: 3 additions & 0 deletions rack-2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
instance_eval File.read("Gemfile")

gem "rack", "~> 2.0"

0 comments on commit e0efd5d

Please sign in to comment.