move assertion to post_generate

This commit is contained in:
Shreyas Goenka 2024-10-07 16:33:21 +02:00
parent 808f6ff23c
commit 4f9f4afb52
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 3 deletions

View File

@ -9,11 +9,9 @@
".codegen/lookup.go.tmpl": "bundle/config/variable/lookup.go" ".codegen/lookup.go.tmpl": "bundle/config/variable/lookup.go"
}, },
"toolchain": { "toolchain": {
"pre_setup": [
"go test -timeout 240s -run TestConsistentDatabricksSdkVersion github.com/databricks/cli/internal/build"
],
"required": ["go"], "required": ["go"],
"post_generate": [ "post_generate": [
"go test -timeout 240s -run TestConsistentDatabricksSdkVersion github.com/databricks/cli/internal/build",
"go run ./bundle/internal/schema/*.go ./bundle/schema/jsonschema.json", "go run ./bundle/internal/schema/*.go ./bundle/schema/jsonschema.json",
"echo 'bundle/internal/tf/schema/\\*.go linguist-generated=true' >> ./.gitattributes", "echo 'bundle/internal/tf/schema/\\*.go linguist-generated=true' >> ./.gitattributes",
"echo 'go.sum linguist-generated=true' >> ./.gitattributes", "echo 'go.sum linguist-generated=true' >> ./.gitattributes",