Run tests with ruby 2.7 and 3.0
This commit is contained in:
parent
7254cc338c
commit
2dd04cac7b
1 changed files with 8 additions and 2 deletions
10
.github/workflows/rspec.yml
vendored
10
.github/workflows/rspec.yml
vendored
|
@ -11,6 +11,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
ruby:
|
||||
- 2.7
|
||||
- 3.0
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@ -19,7 +23,7 @@ jobs:
|
|||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@f20f1eae726df008313d2e0d78c5e602562a1bcf
|
||||
with:
|
||||
ruby-version: 2.7
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: bundle install --with=ci
|
||||
|
@ -31,4 +35,6 @@ jobs:
|
|||
uses: mikepenz/action-junit-report@v3
|
||||
if: always() # always run even if the previous step fails
|
||||
with:
|
||||
report_paths: 'rspec.xml'
|
||||
report_paths: rspec.xml
|
||||
check_name: Rspec for Ruby ${{ matrix.ruby }}
|
||||
fail_on_failure: true
|
||||
|
|
Loading…
Add table
Reference in a new issue