Skip to content

Commit

Permalink
Change CI workflow to allow bundler version configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed May 3, 2021
1 parent 2f7c643 commit 216c162
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -25,20 +25,28 @@ jobs:
os:
- ubuntu-latest
ruby:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 3.0
- ruby-head
- jruby-9.2.13.0
- jruby-head
- truffleruby-head
include:
- ruby: 2.1
os: ubuntu-latest
coverage: false
bundler: 1
- ruby: 2.2
os: ubuntu-latest
coverage: false
bundler: 1
- ruby: 2.7
os: ubuntu-latest
coverage: true
bundler: latest
env:
COVERAGE: ${{ matrix.coverage }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand All @@ -49,8 +57,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install bundler
run: gem install bundler -v '< 2.0'
bundler: ${{ matrix.bundler }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
Expand Down

0 comments on commit 216c162

Please sign in to comment.