Skip to content

Commit

Permalink
Merge pull request #63 from substancelab/matrix
Browse files Browse the repository at this point in the history
Test just one version in the 6.x series
  • Loading branch information
koppen authored Dec 1, 2023
2 parents e0ff7d3 + 0a9ad94 commit 41ecc07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 112 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rails-version: ['5.2.8.1', '6.0.3.7', '6.1.7.6', '7.0.8', '7.1.2', 'main']
ruby-version: ['2.7', '3.0', '3.1', '3.2']
rails-version: ['5.2.8.1', '6.1.7.6', '7.0.8', '7.1.2', 'main']
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
exclude:
- rails-version: '5.2.5'
ruby-version: '3.0'
- rails-version: '5.2.8.1'
ruby-version: '3.3'

env:
RAILS_VERSION: ${{ matrix.rails-version }}

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
Expand Down
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This gem hooks into the Rack middleware of Rails. This way all paths are downcas

== Requirements

This gem is tested with 5.2.x, 6.0.x, 6.1.x., 7.x. It reportedly also works with Sinatra, although I do not use Sinatra myself. Sinatra test-cases will be most welcome.
This gem is tested with 5.2.x, 6.x, 7.x. It reportedly also works with Sinatra, although I do not use Sinatra myself. Sinatra test-cases will be most welcome.

It has previously worked - and I presume still works - in Rails 5.0.x and 5.1.x.

Expand Down
103 changes: 0 additions & 103 deletions test.rb

This file was deleted.

0 comments on commit 41ecc07

Please sign in to comment.