From 8e7e6e14c7354ee968414f43ac8f07fea12338c7 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Fri, 13 Jan 2023 09:22:33 -0300 Subject: [PATCH] DEV: Add Ruby 3.2 to test matrix (#19862) * DEV: Add Ruby 3.2 to test matrix * DEV: Update test name --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17393c85174..27cf46c90b1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,9 +18,9 @@ permissions: jobs: build: if: "!(github.event_name == 'push' && github.repository == 'discourse/discourse-private-mirror')" - name: ${{ matrix.target }} ${{ matrix.build_type }} + name: ${{ matrix.target }} ${{ matrix.build_type }} ${{ matrix.ruby }} runs-on: ${{ (matrix.build_type == 'annotations') && 'ubuntu-latest' || 'ubuntu-20.04-8core' }} - container: discourse/discourse_test:slim${{ (matrix.build_type == 'frontend' || matrix.build_type == 'system') && '-browsers' || '' }} + container: discourse/discourse_test:slim${{ (matrix.build_type == 'frontend' || matrix.build_type == 'system') && '-browsers' || '' }}${{ (matrix.ruby == '3.2') && '-ruby-3.2.0' || '' }} timeout-minutes: 20 env: @@ -38,11 +38,16 @@ jobs: matrix: build_type: [backend, frontend, system, annotations] target: [core, plugins] + ruby: ['3.1', '3.2'] exclude: - build_type: annotations target: plugins - build_type: frontend target: core # Handled by core_frontend_tests job (below) + - build_type: frontend + ruby: '3.2' + - build_type: annotations + ruby: '3.2' steps: - uses: actions/checkout@v3