Skip to content

Commit 67a5e1e

Browse files
committed
Added CI workflow
1 parent 30c6cf1 commit 67a5e1e

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
name: Ruby ${{ matrix.ruby }}
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
ruby:
16+
- "3.0"
17+
- "4.0"
18+
- truffleruby
19+
- jruby
20+
21+
steps:
22+
- name: Check out repository
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
30+
31+
- name: Run tests
32+
run: bundle exec rake test

0 commit comments

Comments
 (0)