[英]Azure terratest - Build constraints exclude all Go files
当我运行 pkg/mod/github.com/gruntwork-io/terratest/test/azure ...
go test -v -run TerraformAzureKeyvaultExample
我收到以下错误:
package github.com/gruntwork-io/terratest/test/azure:构建约束排除所有 Go 文件......
有没有其他人遇到过这个问题? 如何禁用此功能以便我可以实际运行 Azure terratest?
-泰国-
根据 [this issue][1] 尝试使用-tags azure选项,如下所示:
go test -tags azure .
它对我有用。 [1]: https://github.com/gruntwork-io/terratest/issues/557
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.