mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
test Depot runners for team commits (#6394)
Co-authored-by: ConnorYoh <[email protected]>
This commit is contained in:
co-authored by
ConnorYoh
parent
9d081d1792
commit
22d56bb1fb
@@ -619,3 +619,10 @@ tasks.register('buildRestartHelper', Jar) {
|
||||
println "restart-helper.jar created at: ${destinationDirectory.get()}/restart-helper.jar"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tasks.withType(Test).configureEach {
|
||||
// maxParallelForks: parallelise JUnit across cores
|
||||
// Half of available CPUs is a safe default; bump if your tests are I/O-bound.
|
||||
maxParallelForks = Math.max(1, (Runtime.runtime.availableProcessors().intdiv(2)) as int)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user