From 7006ddcc2adae1f1551519a5f3ecf07dbb581735 Mon Sep 17 00:00:00 2001 From: tschafer-gc Date: Thu, 14 Nov 2024 09:50:08 +0000 Subject: [PATCH] Update smoke tests to use both Rack 2 and 3 --- .github/workflows/tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5a21a94..bfe669a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: @@ -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