Skip to content

Commit cd24c89

Browse files
committed
disable mcp-test in CI
1 parent 633da88 commit cd24c89

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/config/model/llm/mcp/tool_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"github.com/rainu/go-yacl"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
12+
"os"
1213
"testing"
1314
"time"
1415
)
@@ -50,6 +51,12 @@ func TestTool_NeedApproval(t *testing.T) {
5051
}
5152

5253
func TestMergeTools(t *testing.T) {
54+
_, isCI := os.LookupEnv("CI")
55+
if isCI {
56+
t.Skip("Skipping test in CI environment")
57+
return
58+
}
59+
5360
_, _, err := cmdchain.Builder().Join("docker", "-v").Finalize().RunAndGet()
5461
if err != nil {
5562
t.Skipf("Docker is not available: %v", err)

0 commit comments

Comments
 (0)