Commit Graph

6 Commits

Author SHA1 Message Date
Yousong Zhou
200029dfd2 scripts/coverage.sh: ignore packages without test files
We have vet and build check available, no need to repeat them here
2020-06-16 12:52:20 +08:00
Yousong Zhou
bf1b1f48b0 .circleci: run tests parallelly 2020-06-15 18:56:33 +08:00
Yousong Zhou
4749dd9cb6 circleci: coverage.sh: 改善内存消耗 2019-08-10 18:36:38 +00:00
Yousong Zhou
50a9bd8360 .circleci: 改进test执行
避免go test执行两次

避免因push到codecov失败造成测试失败

  1457 @@ -10576,5 +10576,33 @@ yunion.io/x/onecloud/pkg/webconsole/comm
  1458  yunion.io/x/onecloud/pkg/webconsole/command/ssh_command.go:147:                        GetData
  1459  yunion.io/x/onecloud/pkg/webconsole/command/ssh_command.go:164:                        ShowInf
  1460  total:                                                                         (statements)
  1461 -Push /tmp/coverage.8mKa1lRFeG/profile.out to codecov.io^M
  1462 -Exited with code 7
  1463 \ No newline at end of file
  1464 +Push /tmp/coverage.GrWO8OlTrX/profile.out to codecov.io^M
  1465 +^M
  1466 +  _____          _^M
  1467 + / ____|        | |^M
  1468 +| |     ___   __| | ___  ___ _____   __^M
  1469 +| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /^M
  1470 +| |___| (_) | (_| |  __/ (_| (_) \ V /^M
  1471 + \_____\___/ \__,_|\___|\___\___/ \_/^M
  1472 +                              Bash-8a28df4^M
  1473 +^M
  1474 +^M
  1475 +==> Circle CI detected.^M
  1476 +    project root: .^M
  1477 +--> token set from env^M
  1478 +    Yaml found at: vendor/github.com/gin-gonic/gin/codecov.yml^M
  1479 +    -> Found 1 reports^M
  1480 +==> Detecting git/mercurial file structure^M
  1481 +==> Reading reports^M
  1482 +    + /tmp/coverage.GrWO8OlTrX/profile.out bytes=2221509^M
2019-07-15 03:42:46 +00:00
Yousong Zhou
9896ac1bec .circleci: build: save go cache 2019-07-03 13:37:23 +00:00
Zexi
8ec7c519bc add scripts/coverage.sh 2019-04-16 12:55:13 +08:00