Commit 6437ffb6 authored by Administrator's avatar Administrator

Merge branch 'fix_autoci' into 'master'

coverage not tag See merge request chain33/plugin!13
parents fbe7e211 4cad84d6
......@@ -108,6 +108,8 @@ deploy_paracross:
code_coverage:
stage: fork_test
tags:
- 33cn
script:
- if [ -n "${onceEveryday}" ]; then
- make coverage
......
......@@ -3,7 +3,11 @@
# Code coverage generation
set -e -o pipefail
echo "cov=$COVERAGE_DIR"
COVERAGE_DIR="${COVERAGE_DIR:-build/coverage}"
echo "cov=$COVERAGE_DIR"
go list ./... | grep -v "vendor" | grep -v "chain33/test" | grep -v "mock" | grep -v "mocks" \
| grep -v "types" | grep -v "cmd" | grep -v "nat" | grep -v "pbft"
PKG_LIST=$(go list ./... | grep -v "vendor" | grep -v "chain33/test" | grep -v "mock" | grep -v "mocks" \
| grep -v "types" | grep -v "cmd" | grep -v "nat" | grep -v "pbft")
......
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