Skip to content

Commit f2e439b

Browse files
andrcunsArtem Eroshenko
authored andcommitted
github workflow pipeline (via #19)
1 parent 87b345f commit f2e439b

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
name: Test
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@master
18+
- name: Set up Ruby 2.6
19+
uses: actions/setup-ruby@v1
20+
with:
21+
ruby-version: 2.6.x
22+
23+
- name: Install
24+
run: |
25+
gem install bundler -v 2.0.2
26+
bundle install
27+
28+
- name: Lint
29+
run: bundle exec rake rubocop
30+
31+
- name: Test
32+
run: bundle exec rake test

0 commit comments

Comments
 (0)