Skip to content

Commit

Permalink
Revert changes for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Apr 26, 2023
1 parent b8ffed7 commit c9f4aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Expand Up @@ -51,10 +51,8 @@ val integrationTest by tasks.registering(NonCacheableIntegrationTest::class) {
classpath = integrationTestSourceSet.runtimeClasspath

setForkEvery(1)
maxParallelForks = if (System.getenv("GITHUB_ACTIONS") != null) {
Runtime.getRuntime().availableProcessors()
} else {
(Runtime.getRuntime().availableProcessors() / 2).takeIf { it > 0 } ?: 1
project.properties["dokka_integration_test_parallelism"]?.toString()?.toIntOrNull()?.let { parallelism ->
maxParallelForks = parallelism
}
environment(
"isExhaustive",
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Expand Up @@ -3,6 +3,7 @@ dokka_version=1.8.20-SNAPSHOT
org.jetbrains.dokka.javaToolchain.mainCompiler=8
org.jetbrains.dokka.javaToolchain.testLauncher=8
org.jetbrains.dokka.kotlinLanguageLevel=1.4
dokka_integration_test_parallelism=2

# Code style
kotlin.code.style=official
Expand Down

0 comments on commit c9f4aed

Please sign in to comment.