Run unit tests in parallel.

This commit is contained in:
Greyson Parrelli
2025-08-22 10:14:14 -04:00
committed by Michelle Tang
parent 5dfbfccc08
commit 9a9661149b

View File

@@ -66,6 +66,10 @@ subprojects {
dependsOn("clean", "testReleaseUnitTest", "lintRelease")
}
}
tasks.withType<Test>().configureEach {
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
}
}
tasks.register("buildQa") {