Run the full matrix for Rails test
This commit is contained in:
parent
d1cdedd335
commit
7a91edb961
1 changed files with 5 additions and 2 deletions
7
.github/workflows/ruby.yml
vendored
7
.github/workflows/ruby.yml
vendored
|
@ -37,12 +37,15 @@ jobs:
|
||||||
|
|
||||||
rails:
|
rails:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ruby_version: [2.4, 2.5, 2.6, 2.7, 3.0]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up Ruby 2.7
|
- name: Set up Ruby ${{ matrix.ruby_version }}
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: [2.7, 3.0]
|
ruby-version: ${{ matrix.ruby_version }}
|
||||||
- name: Test gem in Rails application
|
- name: Test gem in Rails application
|
||||||
run: |
|
run: |
|
||||||
cd spec/rails
|
cd spec/rails
|
||||||
|
|
Loading…
Reference in a new issue