Skip to content

Commit

Permalink
Try and fix requires
Browse files Browse the repository at this point in the history
  • Loading branch information
evanleck committed Sep 22, 2023
1 parent 31f613b commit b0ab7f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ jobs:
ports:
- 6379:6379

name: Test (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ubuntu-latest]
gemfile: [rack2, rack3]
rack: [2, 3]

name: "Test Ruby: ${{ matrix.ruby }} Rack: ${{ matrix.rack }} OS: ${{ matrix.os }}"

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rack${{ matrix.rack }}.gemfile

runs-on: ${{ matrix.os }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rack2.gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require '../Gemfile'
# frozen_string_literal: true
require File.expand_path('../Gemfile')

gem 'rack', '~> 2'
3 changes: 2 additions & 1 deletion gemfiles/rack3.gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require '../Gemfile'
# frozen_string_literal: true
require File.expand_path('../Gemfile')

gem 'rack', '~> 2'

0 comments on commit b0ab7f5

Please sign in to comment.