ci: full parallelism for run_all_tests dispatch (#26986)

This commit is contained in:
Liangsheng Yin
2026-06-01 17:40:43 -07:00
committed by GitHub
parent f6d0beaca8
commit 5e63200064
+6 -1
View File
@@ -111,11 +111,16 @@ jobs:
# `full=true` lifts the matrix-fanout throttle so each suite's # `full=true` lifts the matrix-fanout throttle so each suite's
# max_parallel = size. Conditions: # max_parallel = size. Conditions:
# 1. Scheduled cron run. # 1. Scheduled cron run.
# 2. pull_request event with the `high priority` label. # 2. run_all_tests run (manual full dispatch / release) -- a full
# run should mirror the cron's parallelism, not just its test set.
# 3. pull_request event with the `high priority` label.
FULL=false FULL=false
if [[ "${{ github.event_name }}" == "schedule" ]]; then if [[ "${{ github.event_name }}" == "schedule" ]]; then
FULL=true FULL=true
echo "Scheduled run -> full parallelism" echo "Scheduled run -> full parallelism"
elif [[ "${{ inputs.run_all_tests }}" == "true" ]]; then
FULL=true
echo "run_all_tests -> full parallelism"
elif [[ "${{ github.event_name }}" == "pull_request" && "${{ contains(github.event.pull_request.labels.*.name, 'high priority') }}" == "true" ]]; then elif [[ "${{ github.event_name }}" == "pull_request" && "${{ contains(github.event.pull_request.labels.*.name, 'high priority') }}" == "true" ]]; then
FULL=true FULL=true
echo "high priority PR -> full parallelism" echo "high priority PR -> full parallelism"