Skip to content

Commit 3e7eb70

Browse files
authored
Introduce github actions for CI (#207)
1 parent 16bedef commit 3e7eb70

File tree

2 files changed

+20
-15
lines changed

2 files changed

+20
-15
lines changed

.github/workflows/pull_request.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull Request CI
2+
3+
on: [ pull_request ]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
11+
name: Ruby v${{ matrix.ruby }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-ruby@v1
15+
with:
16+
ruby-version: ${{ matrix.ruby }}
17+
- run: gem install bundler
18+
- run: bundle install
19+
- run: bundle exec rubocop
20+
- run: bundle exec rspec

.travis.yml

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

0 commit comments

Comments
 (0)