mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-05 01:10:48 +00:00
Run unit tests in parallel.
This commit is contained in:
committed by
Michelle Tang
parent
5dfbfccc08
commit
9a9661149b
@@ -66,6 +66,10 @@ subprojects {
|
||||
dependsOn("clean", "testReleaseUnitTest", "lintRelease")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("buildQa") {
|
||||
|
||||
Reference in New Issue
Block a user