Skip to content

Commit 47f39a4

Browse files
chore(internal): correct cache invalidation for SKIP_MOCK_TESTS
1 parent 79f436a commit 47f39a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

buildSrc/src/main/kotlin/langchain.kotlin.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ kotlin {
3232
tasks.withType<Test>().configureEach {
3333
systemProperty("junit.jupiter.execution.parallel.enabled", true)
3434
systemProperty("junit.jupiter.execution.parallel.mode.default", "concurrent")
35+
36+
// `SKIP_MOCK_TESTS` affects which tests run so it must be added as input for proper cache invalidation.
37+
inputs.property("skipMockTests", System.getenv("SKIP_MOCK_TESTS")).optional(true)
3538
}
3639

3740
val ktfmt by configurations.creating

0 commit comments

Comments
 (0)