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