Skip to content

Commit f34f332

Browse files
Only do parallel testing on non-CI machines
1 parent 8f6f1b3 commit f34f332

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ tasks.withType(Test) {
144144
warn.exceptionFormat = "full"
145145
}
146146

147-
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
147+
if (System.getenv("CI") == null) {
148+
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
149+
}
148150
}
149151

150152
jacocoTestReport {

0 commit comments

Comments
 (0)