mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add Ruby 3.2 to test matrix (#19862)
* DEV: Add Ruby 3.2 to test matrix * DEV: Update test name
This commit is contained in:
parent
e21c79ae23
commit
8e7e6e14c7
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -18,9 +18,9 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "!(github.event_name == 'push' && github.repository == 'discourse/discourse-private-mirror')"
|
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' }}
|
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
|
timeout-minutes: 20
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -38,11 +38,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
build_type: [backend, frontend, system, annotations]
|
build_type: [backend, frontend, system, annotations]
|
||||||
target: [core, plugins]
|
target: [core, plugins]
|
||||||
|
ruby: ['3.1', '3.2']
|
||||||
exclude:
|
exclude:
|
||||||
- build_type: annotations
|
- build_type: annotations
|
||||||
target: plugins
|
target: plugins
|
||||||
- build_type: frontend
|
- build_type: frontend
|
||||||
target: core # Handled by core_frontend_tests job (below)
|
target: core # Handled by core_frontend_tests job (below)
|
||||||
|
- build_type: frontend
|
||||||
|
ruby: '3.2'
|
||||||
|
- build_type: annotations
|
||||||
|
ruby: '3.2'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user