ci: remove json format for go test.

This commit is contained in:
yunlzheng
2020-03-12 19:57:36 +08:00
parent 4ef34caf06
commit 9ff3be7d91
+1 -1
View File
@@ -22,7 +22,7 @@ generate-mock:
# run unit test
unit-test:
mkdir -p artifacts/report/coverage
go test -v -json -cover -coverprofile c.out.tmp ./...
go test -v -cover -coverprofile c.out.tmp ./...
cat c.out.tmp | grep -v "_mock.go" > c.out
go tool cover -html=c.out -o artifacts/report/coverage/index.html