Skip to content

Commit a6554d5

Browse files
committed
Test multiple Rubies on CI
1 parent a490500 commit a6554d5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/main.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
---
2-
on:
3-
pull_request:
4-
push:
5-
branches:
6-
- master
2+
on: [push]
73

84
jobs:
95
test:
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
ruby: [2.7, 2.6, 2.5]
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
1313
- uses: ruby/setup-ruby@v1
1414
with:
15+
ruby-version: ${{ matrix.ruby }}
1516
bundler-cache: true
1617
- name: Test
1718
run: bundle exec rspec

0 commit comments

Comments
 (0)