Skip to content

Commit bba39e7

Browse files
committed
Add multi-ruby test workflow
1 parent 2f1d83d commit bba39e7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
fail-fast: true
13+
matrix:
14+
os: [ ubuntu-latest, macos-latest ]
15+
ruby: ['2.6.9', '2.7.5', '3.0.3', '3.1.0 ']
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby }}
22+
bundler-cache: true
23+
- name: Run Tests for Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
24+
run: bundle exec rake

0 commit comments

Comments
 (0)