Skip to content

Commit

Permalink
Add Ruby 2.0 to CI workflow and allow bundler version configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Sep 15, 2021
1 parent 031b0b5 commit 813402b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -23,8 +23,6 @@ jobs:
os:
- ubuntu-latest
ruby:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
Expand All @@ -35,9 +33,22 @@ jobs:
- jruby-head
- truffleruby-head
include:
- ruby: 2.0
os: ubuntu-latest
coverage: false
bundler: 1
- 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 @@ -48,8 +59,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 813402b

Please sign in to comment.