Skip to content

Commit 61b70e9

Browse files
committed
fixup! Run PR validation on multiple OS
1 parent f335da2 commit 61b70e9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

kotlin-sdk-test/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ kotlin {
1111
excludeTestsMatching("*.typescript.*")
1212
}
1313
}
14+
// Pass DOCKER_DEFAULT_PLATFORM to test process for Testcontainers
15+
System.getenv("DOCKER_DEFAULT_PLATFORM")?.let { platform ->
16+
environment("DOCKER_DEFAULT_PLATFORM", platform)
17+
}
1418
}
1519
}
1620
sourceSets {

kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/TsTestBase.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ abstract class TsTestBase {
7878
add("docker")
7979
add("run")
8080
add("--rm")
81+
add("--platform")
82+
add("linux/amd64")
8183
if (interactive) add("-i")
8284
add("-v")
8385
add("${getTsFilesPath("sse")}:/app/sse")

0 commit comments

Comments
 (0)