Run tests with ruby 2.7 and 3.0

This commit is contained in:
Sven Weidauer 2022-06-07 09:29:46 +02:00
parent 7254cc338c
commit 2dd04cac7b

View file

@ -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