Skip to content

Commit

Permalink
Remove irb from test dependeicy and from test matrix (#533)
Browse files Browse the repository at this point in the history
* Remove irb from test dependency

Reline's test no longer depends on irb.
github:ruby/irb requires ruby >= 2.7 but reline's test is run in >= 2.6

* Remove test matrix using github.com/ruby/irb because reline's test doesn't depend on irb anymore
  • Loading branch information
tompng authored Apr 12, 2023
1 parent c30da33 commit 127a84d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/reline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,37 +55,6 @@ jobs:
TERM: xterm-256color
run: bundle exec rake ci-test

irb:
name: >-
irb ${{ matrix.ruby }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
ruby: [ head ]
os: [ ubuntu-latest ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Install reline
run: |
rake build
rake install
- name: Download ruby/irb
run: |
git clone https://github.com/ruby/irb
- name: Setup ruby/irb
run: |
cd irb
bundle install
- name: Run irb test
run: bundle exec rake test

vterm-yamatanooroti:
name: >-
vterm-yamatanooroti ${{ matrix.os }} ${{ matrix.ruby }}
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ end
gem 'bundler'
gem 'rake'
gem 'test-unit'
gem 'irb', github: "ruby/irb"

0 comments on commit 127a84d

Please sign in to comment.