From 2dd04cac7b76ea395ad4b068f2d2be1edeebd3bc Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Tue, 7 Jun 2022 09:29:46 +0200 Subject: [PATCH] Run tests with ruby 2.7 and 3.0 --- .github/workflows/rspec.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index e7b18a3..d2b4d7e 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -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