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

Try to use rvm on GitHub Actions. #322

Merged
merged 3 commits into from
Aug 10, 2019
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
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.