Skip to content

Commit

Permalink
Change GitHub CI to install bundler automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Jul 5, 2023
1 parent 278d946 commit d0d92b2
Showing 1 changed file with 13 additions and 27 deletions.
40 changes: 13 additions & 27 deletions .github/workflows/ci.yml
Expand Up @@ -16,40 +16,28 @@ on:
jobs:
tests:
name: Ruby ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ruby:
- 2.3
- 2.4
- 2.5
- 2.6
- 3.0
- 3.1
- "2.0"
- "2.1"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "3.0"
- "3.1"
- ruby-head
- jruby-9.2.13.0
- 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
- ruby: "2.2"
os: ubuntu-20.04
- ruby: "2.7"
coverage: true
bundler: latest
env:
COVERAGE: ${{ matrix.coverage }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand All @@ -60,8 +48,6 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: ${{ matrix.bundler }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
bundler-cache: true
- name: Run tests
run: bundle exec rake ci

0 comments on commit d0d92b2

Please sign in to comment.