Commit ac89e23a authored by madengji's avatar madengji Committed by 33cn

add coverage

parent f392f6d1
...@@ -4,7 +4,7 @@ https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/6874 ...@@ -4,7 +4,7 @@ https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/6874
[![pipeline status](https://api.travis-ci.org/33cn/plugin.svg?branch=master)](https://travis-ci.org/33cn/plugin/) [![pipeline status](https://api.travis-ci.org/33cn/plugin.svg?branch=master)](https://travis-ci.org/33cn/plugin/)
[![Go Report Card](https://goreportcard.com/badge/github.com/33cn/plugin?branch=master)](https://goreportcard.com/report/github.com/33cn/plugin) [![Go Report Card](https://goreportcard.com/badge/github.com/33cn/plugin?branch=master)](https://goreportcard.com/report/github.com/33cn/plugin)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/33cn/plugin?svg=true&branch=master&passingText=Windows%20-%20OK&failingText=Windows%20-%20failed&pendingText=Windows%20-%20pending)](https://ci.appveyor.com/project/33cn/plugin) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/33cn/plugin?svg=true&branch=master&passingText=Windows%20-%20OK&failingText=Windows%20-%20failed&pendingText=Windows%20-%20pending)](https://ci.appveyor.com/project/33cn/plugin)
[![codecov](https://codecov.io/gh/mdj33/plugin/branch/add_deploy/graph/badge.svg)](https://codecov.io/gh/mdj33/plugin)
# chain33 官方插件系统 # chain33 官方插件系统
* chain33地址: https://github.com/33cn/chain33 * chain33地址: https://github.com/33cn/chain33
......
...@@ -5,9 +5,10 @@ set -e -o pipefail ...@@ -5,9 +5,10 @@ set -e -o pipefail
COVERAGE_DIR="${COVERAGE_DIR:-build/coverage}" COVERAGE_DIR="${COVERAGE_DIR:-build/coverage}"
PKG_LIST=$(go list ./... | grep -v "vendor" | grep -v "chain33/test" | grep -v "mock" | grep -v "mocks" \ #PKG_LIST=$(go list ./... | grep -v "vendor" | grep -v "chain33/test" | grep -v "mock" | grep -v "mocks" \
| grep -v "cmd") # | grep -v "cmd")
PKG_LIST=$(go list ./... | grep -E "token"|grep -v "consensus" |grep -v "crypto" | grep -v "store")
# Create the coverage files directory # Create the coverage files directory
mkdir -p "$COVERAGE_DIR" mkdir -p "$COVERAGE_DIR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment