Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Actions #123

Merged
merged 1 commit into from
Feb 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
ruby: [ 2.7, 2.6, 2.5 ]
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- 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
run: bundle install
- name: rake test
run: rake test
42 changes: 0 additions & 42 deletions .github/workflows/ubuntu-rvm-with-irb.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/ubuntu-rvm-with-readline.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/ubuntu-rvm.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/ubuntu-with-irb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ubuntu with irb

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 'ruby-head' ]
steps:
- uses: actions/checkout@v2
- 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
24 changes: 24 additions & 0 deletions .github/workflows/ubuntu-with-readline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ubuntu with readline

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 'ruby-head' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Download test readline
run: sh ./download-test_readline.sh
- name: rake test
run: bundle exec rake test
- name: rake ci-test
run: bundle exec rake ci-test
10 changes: 4 additions & 6 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.7.x', '2.6.x', '2.5.x' ]
ruby: [ 2.7, 2.6, 2.5 ]
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Set up Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler --no-document
bundle install
run: bundle install
- name: rake test
run: rake test
11 changes: 3 additions & 8 deletions .github/workflows/windows-with-readline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '9.9.x' ]
ruby: [ mingw, mswin ]
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Set up Ruby
uses: MSP-Greg/actions-ruby@master
uses: MSP-Greg/actions-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
if: matrix.ruby != '9.9.x'
run: |
gem install bundler --no-document --conservative
bundle install
- name: Download test readline
run: ./download-test_readline.ps1
- name: rake test
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '9.9.x', '2.7.x', '2.6.x', '2.5.x' ]
ruby: [ 2.7, 2.6, 2.5 ]
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Set up Ruby
uses: MSP-Greg/actions-ruby@master
uses: MSP-Greg/actions-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
if: matrix.ruby != '9.9.x'
run: |
gem install bundler --no-document --conservative
bundle install
- name: rake test
run: rake test