Skip to content

Commit

Permalink
fix(tests): add -buildvcs=false as a temporary fix for go 1.18 bug (see
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien committed Mar 21, 2022
1 parent 4972019 commit 0512dd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/gotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0512dd1

Please sign in to comment.