Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8479f6

Browse files
chore: run test on linux only
1 parent489f3f0 commite8479f6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎cli/open.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ func (r *RootCmd) openVSCode() *serpent.Command {
136136
if!ok {
137137
returnxerrors.New("container missing volume for `devcontainer.local_folder`")
138138
}
139-
140-
directory=filepath.FromSlash(directory)
141139
}
142140

143141
break

‎cli/open_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ func TestOpenVSCode_NoAgentDirectory(t *testing.T) {
293293
funcTestOpenVSCodeDevContainer(t*testing.T) {
294294
t.Parallel()
295295

296+
ifruntime.GOOS!="linux" {
297+
t.Skip("DevContainers are only supported for agents on Linux")
298+
}
299+
296300
agentName:="agent1"
297301
agentDir,err:=filepath.Abs(filepath.FromSlash("/tmp"))
298302
require.NoError(t,err)
@@ -465,6 +469,10 @@ func TestOpenVSCodeDevContainer(t *testing.T) {
465469
funcTestOpenVSCodeDevContainer_NoAgentDirectory(t*testing.T) {
466470
t.Parallel()
467471

472+
ifruntime.GOOS!="linux" {
473+
t.Skip("DevContainers are only supported for agents on Linux")
474+
}
475+
468476
agentName:="agent1"
469477

470478
containerName:=testutil.GetRandomName(t)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp