mirror of https://github.com/databricks/cli.git
fix: Skip tests on windows
This commit is contained in:
parent
0221c28a80
commit
a3fdc8dd6c
|
@ -4,6 +4,7 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
"path"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
@ -36,6 +37,9 @@ func copyFile(src, dst string) error {
|
|||
// 2. replace all "PLACEHOLDER" values with the actual descriptions if possible
|
||||
// 3. run `make schema` again to regenerate the schema with acutal descriptions
|
||||
func TestRequiredAnnotationsForNewFields(t *testing.T) {
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip()
|
||||
}
|
||||
workdir := t.TempDir()
|
||||
annotationsPath := path.Join(workdir, "annotations.yml")
|
||||
annotationsOpenApiPath := path.Join(workdir, "annotations_openapi.yml")
|
||||
|
|
Loading…
Reference in New Issue