Skip to content

Commit a469def

Browse files
committed
skip helm args tests for windows
1 parent 184db0b commit a469def

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

api/krusty/localizer/runner_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Copyright 2022 The Kubernetes Authors.
22
// SPDX-License-Identifier: Apache-2.0
33

4+
// skip all tests on Windows
5+
//go:build !windows
6+
// +build !windows
7+
48
package localizer_test
59

610
import (

api/types/helmchartargs_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ import (
88

99
"github.com/stretchr/testify/require"
1010
"sigs.k8s.io/kustomize/api/types"
11+
"sigs.k8s.io/kustomize/kyaml/testutil"
1112
)
1213

1314
func TestAsHelmArgs(t *testing.T) {
15+
// Skip test on Windows due to all scenarios using Unix-style paths
16+
testutil.SkipWindows(t)
1417
t.Run("use generate-name", func(t *testing.T) {
1518
p := types.HelmChart{
1619
Name: "chart-name",

0 commit comments

Comments
 (0)