Skip to content

Commit b66602a

Browse files
committed
Replaced Travis CI with GHA.
1 parent 32852a3 commit b66602a

File tree

5 files changed

+37
-21
lines changed

5 files changed

+37
-21
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [dblock]

.github/workflows/rubocop.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Rubocop
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Set up Ruby
9+
uses: ruby/setup-ruby@v1
10+
with:
11+
ruby-version: 2.7
12+
bundler-cache: true
13+
- run: bundle exec rubocop

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Set up Ruby
9+
uses: ruby/setup-ruby@v1
10+
with:
11+
ruby-version: 2.6.5
12+
bundler-cache: true
13+
- uses: browser-actions/setup-geckodriver@latest
14+
with:
15+
geckodriver-version: 0.18.0
16+
- uses: browser-actions/setup-firefox@latest
17+
with:
18+
firefox-version: '54.0'
19+
- uses: GabrielBB/xvfb-action@v1
20+
with:
21+
run: |
22+
bundle exec rake spec

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Grape API on Rack
22
=================
33

4-
[![Build Status](https://travis-ci.org/ruby-grape/grape-on-rack.svg?branch=master)](https://travis-ci.org/ruby-grape/grape-on-rack)
4+
[![Test](https://github.com/grape/grape-on-rack/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/grape/grape-on-rack/actions/workflows/test.yml)
55
[![Code Climate](https://codeclimate.com/github/ruby-grape/grape-on-rack.svg)](https://codeclimate.com/github/ruby-grape/grape-on-rack)
66

77
A [Grape](http://github.com/ruby-grape/grape) API mounted on Rack.

0 commit comments

Comments
 (0)