Skip to content

Commit

Permalink
Setting up multiple gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bwillis committed Jun 7, 2020
1 parent 9fb1566 commit 8732106
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@ jobs:

strategy:
matrix:
ruby: [ '2.3.3', '2.4.7', '2.5.6' ]
ruby:
- '2.3.3'
- '2.4.7'
- '2.5.6'
gemfile:
- 'gemfiles/rails5.0.gemfile'
- 'gemfiles/rails5.2.gemfile'
- 'gemfiles/rails6.0.gemfile'
exclude:
- ruby: "2.3.3"
gemfile: "gemfiles/rails6.0.gemfile"
- ruby: "2.4.7"
gemfile: "gemfiles/rails6.0.gemfile"

steps:
- uses: actions/checkout@v2
Expand All @@ -32,6 +44,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
run: bundle install --gemfile=${{matrix.gemfile}}
- name: Run tests
run: bundle exec rake

0 comments on commit 8732106

Please sign in to comment.