From db94104fd3200cb98af40c4c3c3dffc6fe4c5e5d Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Mon, 16 Jul 2018 12:28:21 +0800 Subject: [PATCH 1/2] add codecov test --- README_ZH.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README_ZH.md b/README_ZH.md index ed6b5af..a083c13 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -4,12 +4,11 @@

A goroutine pool for Go

- - [![Build Status][1]][2] -[![godoc for panjf2000/ants][3]][4] +[![codecov][3]][4] [![goreportcard for panjf2000/ants][5]][6] -[![MIT Licence][7]][8] +[![godoc for panjf2000/ants][7]][8] +[![MIT Licence][9]][10] [英文说明页](README.md) | [项目介绍文章传送门](http://blog.taohuawu.club/article/42) @@ -183,9 +182,11 @@ Go1.9 [1]: https://travis-ci.com/panjf2000/ants.svg?branch=develop [2]: https://travis-ci.com/panjf2000/ants -[3]: https://godoc.org/github.com/panjf2000/ants?status.svg -[4]: https://godoc.org/github.com/panjf2000/ants +[3]: https://codecov.io/gh/panjf2000/ants/branch/develop/graph/badge.svg +[4]: https://codecov.io/gh/panjf2000/ants [5]: https://goreportcard.com/badge/github.com/panjf2000/ants [6]: https://goreportcard.com/report/github.com/panjf2000/ants -[7]: https://badges.frapsoft.com/os/mit/mit.svg?v=103 -[8]: https://opensource.org/licenses/mit-license.php +[7]: https://godoc.org/github.com/panjf2000/ants?status.svg +[8]: https://godoc.org/github.com/panjf2000/ants +[9]: https://badges.frapsoft.com/os/mit/mit.svg?v=103 +[10]: https://opensource.org/licenses/mit-license.php From 077ca09e0b07a2dad3d16e18f72ec10a1769a1cc Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Mon, 16 Jul 2018 12:45:28 +0800 Subject: [PATCH 2/2] update codecov test --- ants_benchmark_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants_benchmark_test.go b/ants_benchmark_test.go index af0ef99..0374d8a 100644 --- a/ants_benchmark_test.go +++ b/ants_benchmark_test.go @@ -44,7 +44,7 @@ const ( const ( RunTimes = 10000000 Param = 100 - AntsSize = 100 + AntsSize = 500 ) func demoFunc() error {