Skip to content
Closed
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
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/cache@preview
id: cache
with:
path: ~/local/rubies
key: ruby-2.6.5
- uses: clupprich/ruby-build-action@master
id: ruby
with:
ruby-version: 2.6.5
cache-available: ${{ steps.cache.outputs.cache-hit == 'true' }}
- name: Print version
run: ${{ steps.ruby.outputs.ruby-path }} --version
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3 --without production
bundle exec rails test