Skip to content

Commit

Permalink
Fork new test process every n-amount of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tbogdanova committed Nov 14, 2024
1 parent d44f1f7 commit d0e8b42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fun Project.configureTestTasksOnCi() {
tasks.withType<AbstractTestTask>().configureEach {
ignoreFailures = true
if (this is KotlinTest) ignoreRunFailures = true
if (this is Test) forkEvery = 100
}
// KotlinTestReport overwrites ignoreFailure values and fails build on test failure if this flag is disabled
extra["kotlin.tests.individualTaskReports"] = true
Expand Down

0 comments on commit d0e8b42

Please sign in to comment.