Skip to content

Commit f8d791b

Browse files
committed
Test with multiple ruby versions
1 parent 340b2e9 commit f8d791b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on: [push, pull_request]
33
jobs:
44
run-tests:
55
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
ruby: ['2.6', '2.7', '3.0', '3.1']
69
steps:
710
- name: Checkout
811
uses: actions/[email protected] # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
@@ -11,6 +14,7 @@ jobs:
1114
- name: Setup Ruby
1215
uses: ruby/setup-ruby@v1
1316
with:
17+
ruby-version: ${{ matrix.ruby }}
1418
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
1519
- name: Run tests
1620
run: bundle exec rake test

0 commit comments

Comments
 (0)