Skip to content

Commit

Permalink
Merge pull request #322 from ruby/actions-2
Browse files Browse the repository at this point in the history
Try to use rvm on GitHub Actions.
  • Loading branch information
hsbt authored Aug 10, 2019
2 parents 81c9ca2 + 516c95e commit 01c9a62
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ jobs:
- name: Install dependencies
run: gem install minitest
- name: Run test
env:
COVERALLS: "yes"
run: ruby -Ilib exe/rake
28 changes: 28 additions & 0 deletions .github/workflows/ubuntu-rvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ubuntu-rvm

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 'jruby-head', 'jruby-9.2.4.0', 'ruby-head' ]
steps:
- uses: actions/checkout@master
- name: Set up RVM
run: |
curl -sSL https://get.rvm.io | bash
- name: Set up Ruby
run: |
source $HOME/.rvm/scripts/rvm
rvm install ${{ matrix.ruby }} --binary
rvm --default use ${{ matrix.ruby }}
- name: Install dependencies
run: |
source $HOME/.rvm/scripts/rvm
gem install minitest
- name: Run test
run: |
source $HOME/.rvm/scripts/rvm
ruby -Ilib exe/rake
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit 01c9a62

Please sign in to comment.