Skip to content

Commit 43b3daa

Browse files
committed
Add matrix tests
1 parent 3c7ad2f commit 43b3daa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ jobs:
99
build-and-test:
1010
name: Build and Test
1111
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
ruby-version: [3.0.x, 2.7.x, 2.6.x]
16+
1217
steps:
1318
- name: Check out code
1419
uses: actions/checkout@v2
1520

16-
- name: Setup Ruby
21+
- name: Setup Ruby ${{ matrix.ruby-version }}
1722
uses: ruby/setup-ruby@v1
1823
with:
19-
ruby-version: 2.7.1
24+
ruby-version: ${{ matrix.ruby-version }}
2025

2126
- name: Install Ruby Dependencies
2227
run: bundle install

0 commit comments

Comments
 (0)