We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ae6a5d + d090d4b commit e26a99aCopy full SHA for e26a99a
gradle/special-tests.gradle
@@ -17,6 +17,12 @@ tasks.withType(Test).configureEach {
17
maxRetries = 2
18
maxFailures = 10
19
}
20
+
21
+ // There are only 2 cores in each GitHub Action Runner, we use all of them here.
22
+ maxParallelForks = Runtime.getRuntime().availableProcessors()
23
+ } else {
24
+ // https://docs.gradle.org/8.4/userguide/performance.html#execute_tests_in_parallel
25
+ maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
26
27
28
0 commit comments