Skip to content

Commit

Permalink
Workaround the difference between push and pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Jan 19, 2021
1 parent c057fa4 commit 826c9ee
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,24 @@ on: [push, pull_request]
jobs:
build:
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
container: ruby:${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.0'
- '2.7'
- '2.6'
- '2.5'
- head
- truffleruby-head
- '2.6'
- '2.7'
- '3.0'
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler --no-document
bundle install
- name: Debug
run: env
- name: Run test
run: bundle exec rake test

0 comments on commit 826c9ee

Please sign in to comment.