Skip to content

Commit

Permalink
Test api for all platforms and skip those breaking on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
campoy committed Jun 16, 2021
1 parent 7fae7d1 commit b129a72
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
run: go test -cover ./...
working-directory: ./kyaml

- name: Test api
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"
working-directory: ./api

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
Expand All @@ -69,6 +73,10 @@ jobs:
run: go test -cover ./...
working-directory: ./kyaml

- name: Test api
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"
working-directory: ./api

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
Expand All @@ -93,6 +101,10 @@ jobs:
run: go test -cover ./...
working-directory: ./kyaml

- name: Test api
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"
working-directory: ./api

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
Expand Down
1 change: 1 addition & 0 deletions kyaml/filesys/confirmeddir_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

// +build !windows
// TODO: Make these tests pass on Windows too.

package filesys

Expand Down
1 change: 1 addition & 0 deletions kyaml/filesys/fsnode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

// +build !windows
// TODO: Make these tests pass on Windows too.

package filesys

Expand Down
1 change: 1 addition & 0 deletions kyaml/filesys/fsondisk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

// +build !windows
// TODO: Make these tests pass on Windows too.

package filesys

Expand Down
1 change: 1 addition & 0 deletions kyaml/filesys/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

// +build !windows
// TODO: Make these tests pass on Windows too.

package filesys

Expand Down

0 comments on commit b129a72

Please sign in to comment.