Skip to content

Commit bbd9a76

Browse files
committed
Added GHA.
1 parent d2fcf69 commit bbd9a76

File tree

4 files changed

+21
-14
lines changed

4 files changed

+21
-14
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/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: test
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- uses: harmon758/postgresql-action@v1
9+
with:
10+
postgresql version: '17'
11+
postgresql db: acme_test
12+
postgresql user: test
13+
postgresql password: password
14+
- uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: '3.4'
17+
bundler-cache: true
18+
- run: RACK_ENV=test bundle exec rake db:create db:migrate
19+
- run: RACK_ENV=test bundle exec rake

.travis.yml

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

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
Grape API with Roar
22
===================
33

4-
[![Build Status](http://img.shields.io/travis/ruby-grape/grape-with-roar.svg?branch=with_activerecord)](https://travis-ci.org/ruby-grape/grape-with-roar?branch=with_activerecord)
5-
[![Dependency Status](https://gemnasium.com/ruby-grape/grape-with-roar.svg?branch=with_activerecord)](https://gemnasium.com/ruby-grape/grape-with-roar?branch=with_activerecord)
6-
[![Code Climate](https://codeclimate.com/github/ruby-grape/grape-with-roar.svg?branch=with_activerecord)](https://codeclimate.com/github/ruby-grape/grape-with-roar?branch=with_activerecord)
4+
[![test](https://github.com/ruby-grape/grape-with-roar/actions/workflows/test.yml/badge.svg?branch=with-activerecord)](https://github.com/ruby-grape/grape-with-roar/actions/workflows/test.yml)
75

86
A [Grape](http://github.com/intridea/grape) API that uses [Roar](https://github.com/apotonick/roar) and ActiveRecord with a PostgreSQL database.
97

0 commit comments

Comments
 (0)