Skip to content

Commit

Permalink
Tweak config to simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
whomwah committed Jan 8, 2021
1 parent f42d4ba commit fcd05ff
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,20 @@ on:
- master

jobs:
build:
name: Test Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, 3.0]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Use Ruby ${{ matrix.ruby }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Gem install and test
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rspec
- run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rspec

0 comments on commit fcd05ff

Please sign in to comment.