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 Oct 3, 2023
1 parent 48a1065 commit c419fc6
Showing 1 changed file with 13 additions and 27 deletions.
40 changes: 13 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,40 +20,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 @@ -64,8 +52,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 c419fc6

Please sign in to comment.