Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Remove unsupported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffharcourt committed Nov 6, 2023
1 parent cad715c commit 53547aa
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,17 @@ jobs:
puma:
- stable
rack:
- stable
- head
tilt:
- stable
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, truffleruby]
ruby: ['3.2']
include:
# Rack
- { ruby: 3.2, rack: head, puma: stable, tilt: stable, allow-failure: true }
# Puma
- { ruby: 3.2, rack: stable, puma: head, tilt: stable, allow-failure: true }
# Tilt
- { ruby: 3.2, rack: stable, puma: stable, tilt: head, allow-failure: true }
# Due to flaky tests, see https://github.com/sinatra/sinatra/pull/1870
- { ruby: jruby-9.3, rack: stable, puma: stable, tilt: stable, allow-failure: true }
# Due to https://github.com/jruby/jruby/issues/7647
- { ruby: jruby-9.4, rack: stable, puma: stable, tilt: stable, allow-failure: true }
# Never fail our build due to problems with head
- { ruby: ruby-head, rack: stable, puma: stable, tilt: stable, allow-failure: true }
- { ruby: jruby-head, rack: stable, puma: stable, tilt: stable, allow-failure: true }
- { ruby: truffleruby-head, rack: stable, puma: stable, tilt: stable, allow-failure: true }
- { ruby: 3.2, rack: head, puma: stable, tilt: stable, allow-failure: false }
env:
rack: ${{ matrix.rack }}
puma: ${{ matrix.puma }}
tilt: ${{ matrix.tilt }}

steps:
- name: Install dependencies
run: |
Expand All @@ -58,6 +44,7 @@ jobs:
libxml2-dev \
libxslt-dev \
libyaml-dev
- uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1
Expand All @@ -81,6 +68,7 @@ jobs:
run: |
bundle install --jobs=3 --retry=3
bundle exec rake
- name: Run rack-protection tests
continue-on-error: ${{ matrix.allow-failure || false }}
id: protection-tests
Expand Down

0 comments on commit 53547aa

Please sign in to comment.