diff --git a/activestate.yaml b/activestate.yaml index d4e08cc354..040a23dd7d 100644 --- a/activestate.yaml +++ b/activestate.yaml @@ -335,6 +335,8 @@ scripts: standalone: true description: Runs unit tests (not integration tests) value: | + # Disable CGo to prevent clang warnings from crashing gotestfmt. + export CGO_ENABLED=0 go test -vet=off -v `go list ./... | grep -v integration | grep -v automation | grep -v expect | grep -v state-svc | grep -v state-offline` $@ - name: integration-tests language: bash