mirror of https://github.com/databricks/cli.git
move location of testdata
This commit is contained in:
parent
f8b5a5c2e8
commit
54abb3ba41
|
@ -115,10 +115,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
go run main.go bundle schema > schema.json
|
go run main.go bundle schema > schema.json
|
||||||
|
|
||||||
for file in ./bundle/tests/schema/pass/*.yml; do
|
for file in ./bundle/internal/schema/testdata/pass/*.yml; do
|
||||||
ajv test -s schema.json -d $file --valid
|
ajv test -s schema.json -d $file --valid
|
||||||
done
|
done
|
||||||
|
|
||||||
for file in ./bundle/tests/schema/fail/*.yml; do
|
for file in ./bundle/internal/schema/testdata/fail/*.yml; do
|
||||||
ajv test -s schema.json -d $file --invalid
|
ajv test -s schema.json -d $file --invalid
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue