Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

test: split create integration tests out (#18470)

Daniel Hiltgene363843b834c
diff --git a/integration/quantization_test.go b/integration/quantization_test.go
index df5b7e773..c090ffa98 100644
--- a/integration/quantization_test.go
+++ b/integration/quantization_test.go
@@ -1,4 +1,4 @@
-//go:build integration && release
+//go:build integration && create
package integration
diff --git a/integration/reg_create_test.go b/integration/reg_create_test.go
new file mode 100644
index 000000000..67cb39e2c
--- /dev/null
+++ b/integration/reg_create_test.go
@@ -0,0 +1,16 @@
+//go:build integration && create
+
+package integration
+
+// The create scope exercises model-creation flows: importing a safetensors
+// model, importing a GGUF, its blob-transfer variant, and quantizing an
+// existing model. These carry large client-side blob uploads, so they are
+// kept out of the release scope and run in the dedicated go-create lane.
+func init() {
+ registerIntegrationCases(
+ integrationTestCase("create-safetensors", "", runCreateSafetensorsLLM),
+ integrationTestCase("create-gguf", "", runCreateGGUF),
+ integrationTestCase("create-gguf-blob-transfer", "", runCreateGGUFBlobTransfer),
+ integrationTestCase("quantization", "", runQuantization),
+ )
+}
diff --git a/integration/reg_groups_test.go b/integration/reg_groups_test.go
index 3a2f86563..a26d1ca0f 100644
--- a/integration/reg_groups_test.go
+++ b/integration/reg_groups_test.go
@@ -1,4 +1,4 @@
-//go:build integration && (fast || release || library)
+//go:build integration && (fast || release || library || create)
package integration
diff --git a/integration/reg_release_test.go b/integration/reg_release_test.go
index 893b6c828..19c2c58f0 100644
--- a/integration/reg_release_test.go
+++ b/integration/reg_release_test.go
@@ -120,11 +120,6 @@ func init() {
integrationTestCase("thinking-enabled", smol, runThinkingEnabled),
integrationTestCase("thinking-suppressed", smol, runThinkingSuppressed),
-
- integrationTestCase("create-safetensors", "", runCreateSafetensorsLLM),
- integrationTestCase("create-gguf", "", runCreateGGUF),
- integrationTestCase("create-gguf-blob-transfer", "", runCreateGGUFBlobTransfer),
- integrationTestCase("quantization", "", runQuantization),
)
registerStructuredOutputCases()
diff --git a/integration/reg_required_test.go b/integration/reg_required_test.go
index 19294869f..477ce9998 100644
--- a/integration/reg_required_test.go
+++ b/integration/reg_required_test.go
@@ -1,4 +1,4 @@
-//go:build integration && !fast && !release && !library
+//go:build integration && !fast && !release && !library && !create
package integration