Skip to content

Commit 5355321

Browse files
authored
Create gem-push.yml
1 parent 712c76d commit 5355321

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/gem-push.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Ruby Gem
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
name: Unit test
8+
runs-on: [ubuntu-latest, macos-latest]
9+
strategy:
10+
fail_fast: false
11+
matrix:
12+
ruby-version: [2.1.10, 2.2.10, 2.3.8, 2.4.6, 2.5.8, 2.6.6, 2.7.2, 3.0.1, jruby-9.1.17.0, jruby-9.2.17.0, truffleruby]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Ruby ${{ matrix.ruby-version }}
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: ${{ matrix.ruby-version }}
20+
21+
- name: Install dependencies
22+
run: bundle install
23+
24+
- name: Run tests
25+
run: bundle exec rake

0 commit comments

Comments
 (0)