Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit e1922ad

Browse files
Create test.yml
1 parent fb93a95 commit e1922ad

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
rvm: [2.4.4, truffleruby, 2.4, 2.5, 2.6, 2.7]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: ${{ matrix.rvm }}
24+
- name: Install dependencies
25+
run: bundle install --jobs=3 --retry=3
26+
- name: Run tests
27+
run: |
28+
gem build *.gemspec
29+
gem install *.gem
30+
rake test

0 commit comments

Comments
 (0)