Skip to content

Commit

Permalink
Add matrix to test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
w-masahiro-ct committed Jan 5, 2025
1 parent ef3b084 commit 058cd88
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Test

on:
pull_request:
Expand All @@ -9,14 +9,16 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby-version: [3.1, 3.2, 3.3, 3.4]
steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: yettoapp/actions/setup-languages@main
with:
ruby: true

ruby-version: ${{ matrix.ruby-version }}
- name: Run tests
run: bundle exec rake test

0 comments on commit 058cd88

Please sign in to comment.