ci: parallelize core test configs

This commit is contained in:
Peter Steinberger
2026-04-23 09:42:07 +01:00
parent 7f64a3c4ca
commit 885bf1c5d8
3 changed files with 46 additions and 23 deletions

View File

@@ -372,7 +372,12 @@ async function main() {
targetArgs.length === 0 &&
changedTargetArgs === null &&
!runSpecs.some((spec) => spec.watchMode);
const isParallelShardRun = isFullSuiteRun || isFullExtensionsProjectRun(runSpecs);
const isExplicitParallelMultiConfigRun =
Boolean(process.env.OPENCLAW_TEST_PROJECTS_PARALLEL) &&
runSpecs.length > 1 &&
!runSpecs.some((spec) => spec.watchMode);
const isParallelShardRun =
isFullSuiteRun || isFullExtensionsProjectRun(runSpecs) || isExplicitParallelMultiConfigRun;
if (isParallelShardRun) {
const concurrency = resolveParallelFullSuiteConcurrency(runSpecs.length, process.env);
if (concurrency > 1) {