Skip to content

Commit

Permalink
Try testing multiple gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
evanleck committed Sep 22, 2023
1 parent a1c19b5 commit 31f613b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ubuntu-latest]
gemfile: [rack2, rack3]

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

runs-on: ${{ matrix.os }}
steps:
Expand Down
3 changes: 3 additions & 0 deletions gemfiles/rack2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require '../Gemfile'

gem 'rack', '~> 2'
3 changes: 3 additions & 0 deletions gemfiles/rack3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require '../Gemfile'

gem 'rack', '~> 2'

0 comments on commit 31f613b

Please sign in to comment.