mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: Backport Github test workflow to stable. (#16210)
This commit is contained in:
parent
d7b48d0229
commit
1d2654f91f
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -5,6 +5,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- beta
|
||||||
|
- stable
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
|
group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
|
||||||
@ -36,8 +38,6 @@ jobs:
|
|||||||
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
|
|
||||||
target: plugins # Not yet passing in Ember CLI
|
|
||||||
include:
|
include:
|
||||||
- build_type: frontend
|
- build_type: frontend
|
||||||
target: core-plugins
|
target: core-plugins
|
||||||
@ -232,15 +232,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Core QUnit 1
|
- name: Core QUnit 1
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
working-directory: ./app/assets/javascripts/discourse
|
||||||
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=1 --launch "${{ matrix.browser }}"
|
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=1 --launch "${{ matrix.browser }}" --random
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
|
||||||
- name: Core QUnit 2
|
- name: Core QUnit 2
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
working-directory: ./app/assets/javascripts/discourse
|
||||||
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=2 --launch "${{ matrix.browser }}"
|
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=2 --launch "${{ matrix.browser }}" --random
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
|
||||||
- name: Core QUnit 3
|
- name: Core QUnit 3
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
working-directory: ./app/assets/javascripts/discourse
|
||||||
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=3 --launch "${{ matrix.browser }}"
|
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=3 --launch "${{ matrix.browser }}" --random
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user