Skip to content

Commit 465553e

Browse files
committed
Use GitHub action CI
1 parent c402bfa commit 465553e

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Ruby
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Ruby 2.6
13+
uses: actions/setup-ruby@v1
14+
with:
15+
ruby-version: 2.6.x
16+
- name: Build and test with Rake
17+
run: |
18+
gem install bundler
19+
bundle install --jobs 4 --retry 3
20+
make test

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
install:
33
gem build json-api-vanilla.gemspec && gem install ./json-api-vanilla-*.gem
44

5-
.PHONY: install
5+
test:
6+
rspec
7+
8+
.PHONY: install test

0 commit comments

Comments
 (0)