Skip to content

Commit

Permalink
Add latest version of reline into test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored and peterzhu2118 committed Jul 25, 2022
1 parent ff129f3 commit 75431fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
irb:
name: irb (${{ matrix.ruby }} / ${{ matrix.os }})
name: rake test ${{ matrix.ruby }} ${{ matrix.with_latest_reline && '(latest reline)' || '' }}
strategy:
matrix:
ruby:
Expand All @@ -20,8 +20,11 @@ jobs:
- head
- truffleruby-head
os: [ubuntu-latest]
with_latest_reline: [true, false]
fail-fast: false
runs-on: ${{ matrix.os }}
env:
WITH_LATEST_RELINE: ${{matrix.with_latest_reline}}
steps:
- uses: actions/checkout@master
- name: Set up Ruby
Expand All @@ -37,7 +40,7 @@ jobs:
run: bundle exec rake test
vterm-yamatanooroti:
name: >-
vterm-yamatanooroti ${{ matrix.os }} ${{ matrix.ruby }}
vterm-yamatanooroti ${{ matrix.ruby }} ${{ matrix.with_latest_reline && '(latest reline)' || '' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -46,8 +49,11 @@ jobs:
- '3.0'
- '2.7'
- head
os: [ ubuntu-latest ]
os: [ubuntu-latest]
with_latest_reline: [true, false]
fail-fast: false
env:
WITH_LATEST_RELINE: ${{matrix.with_latest_reline}}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
Expand All @@ -68,4 +74,4 @@ jobs:
gem install bundler --no-document
WITH_VTERM=1 bundle install
- name: rake test_yamatanooroti
run: rake test_yamatanooroti
run: bundle exec rake test_yamatanooroti
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ group :development do
gem "rake"
gem "stackprof" if is_unix && !is_truffleruby
gem "test-unit"
gem "reline", github: "ruby/reline" if ENV["WITH_LATEST_RELINE"] == "true"
end

0 comments on commit 75431fc

Please sign in to comment.