Skip to content

Commit

Permalink
Skip unittest for default.yaml on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
  • Loading branch information
afbjorklund committed May 12, 2024
1 parent 462654d commit c2bcd19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/limayaml/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ func TestValidateEmpty(t *testing.T) {
// Note: can't embed symbolic links, use "os"

func TestValidateDefault(t *testing.T) {
if runtime.GOOS == "windows" {

Check failure on line 20 in pkg/limayaml/validate_test.go

View workflow job for this annotation

GitHub Actions / Lints

undefined: runtime (typecheck)

Check failure on line 20 in pkg/limayaml/validate_test.go

View workflow job for this annotation

GitHub Actions / Unit tests (1.21.x)

undefined: runtime

Check failure on line 20 in pkg/limayaml/validate_test.go

View workflow job for this annotation

GitHub Actions / Unit tests (1.22.x)

undefined: runtime

Check failure on line 20 in pkg/limayaml/validate_test.go

View workflow job for this annotation

GitHub Actions / Windows tests

undefined: runtime

Check failure on line 20 in pkg/limayaml/validate_test.go

View workflow job for this annotation

GitHub Actions / Integration tests

undefined: runtime
// FIXME: `assertion failed: error is not nil: field `mounts[1].location` must be an absolute path, got "/tmp/lima"`
t.Skip("Skipping on windows")
}

bytes, err := os.ReadFile("default.yaml")
assert.NilError(t, err)
y, err := Load(bytes, "default.yaml")
Expand Down

0 comments on commit c2bcd19

Please sign in to comment.