Skip to content

Commit

Permalink
Update smoke tests to use both Rack 2 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
tschafer-gc committed Nov 14, 2024
1 parent 529392f commit 7006ddc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
fail-fast: false
matrix:
ruby_version: ["3.0", "3.1", "3.2", "3.3"]
rack_version: ["~> 2", "~> 3"]
runs-on: ubuntu-latest
services:
postgres:
Expand Down Expand Up @@ -51,7 +52,12 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "${{ matrix.ruby-version }}"
ruby-version: "${{ matrix.ruby_version }}"
- name: Update Gemfile for Rack version
run: |
echo 'gem "rack", "${{ matrix.rack_version }}"' >> Gemfile
- name: Install Dependencies
run: bundle install
- name: Start bin/que
run: |
bundle exec bin/que ./lib/que.rb --metrics-port=8080 --ci
Expand Down

0 comments on commit 7006ddc

Please sign in to comment.