ci: ignore generate mock from test cover report.

This commit is contained in:
yunlzheng
2020-03-12 15:15:34 +08:00
parent 30cf35f887
commit a03e9c1bb2
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -11,4 +11,5 @@ note/
.jvmrc
.DS_Store
vendor/
c.out
c.out
c.out.tmp
+2 -2
View File
@@ -16,8 +16,8 @@ generate-mock:
# run unit test
unit-test:
mkdir -p artifacts/report/coverage
go test -v -json -cover -coverprofile c.out ./...
go tool cover -html=c.out -o artifacts/report/coverage/index.html
go test -v -json -cover -coverprofile c.out.tmp ./...
cat c.out.tmp | grep -v "_mock.go" > c.out
# build kt project
build: build-connect build-shadow build-server build-dashboard