fix(tests): add -buildvcs=false as a temporary fix for go 1.18 bug (see https://github.com/golang/go/issues/51723)

This commit is contained in:
Julien Neuhart
2022-03-21 17:13:35 +01:00
parent 4972019cb9
commit 0512dd1e86

View File

@@ -2,5 +2,6 @@
set -x
go test -race -covermode=atomic -coverprofile=/tests/coverage.txt ./...
# TODO: remove -buildvcs=false when fix for https://github.com/golang/go/issues/51723 is live.
go test -buildvcs=false -race -covermode=atomic -coverprofile=/tests/coverage.txt ./...
go tool cover -html=coverage.txt -o /tests/coverage.html