Skip to content

Commit

Permalink
Use GitHub action CI
Browse files Browse the repository at this point in the history
  • Loading branch information
espadrine committed Dec 18, 2019
1 parent c402bfa commit 465553e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Ruby

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
make test
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
install:
gem build json-api-vanilla.gemspec && gem install ./json-api-vanilla-*.gem

.PHONY: install
test:
rspec

.PHONY: install test

0 comments on commit 465553e

Please sign in to comment.