DEV: Use hosted runners on main branch for tests workflow (#28901)
Follow-up to 92f7b3e789
This commit is contained in:
parent
92f7b3e789
commit
f6ba5ed4d9
|
@ -29,7 +29,7 @@ jobs:
|
|||
build:
|
||||
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
|
||||
name: ${{ matrix.target }} ${{ matrix.build_type }} # Update fetch-job-id step if changing this
|
||||
runs-on: ${{ (vars.GITHUB_REF_NAME == 'main' ) && 'debian-12' || 'ubuntu-22.04-8core' }}
|
||||
runs-on: ${{ (github.ref == 'refs/main/head') && 'debian-12' || 'ubuntu-22.04-8core' }}
|
||||
container: discourse/discourse_test:slim${{ (matrix.build_type == 'frontend' || matrix.build_type == 'system') && '-browsers' || '' }}
|
||||
timeout-minutes: 20
|
||||
|
||||
|
@ -358,7 +358,7 @@ jobs:
|
|||
core_frontend_tests:
|
||||
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
|
||||
name: core frontend (${{ matrix.browser }})
|
||||
runs-on: ${{ (vars.GITHUB_REF_NAME == 'main' ) && 'debian-12' || 'ubuntu-22.04-8core' }}
|
||||
runs-on: ${{ (github.ref == 'refs/main/head' ) && 'debian-12' || 'ubuntu-22.04-8core' }}
|
||||
container:
|
||||
image: discourse/discourse_test:slim-browsers
|
||||
options: --user discourse
|
||||
|
|
Loading…
Reference in New Issue