add coverage to master
This commit is contained in:
parent
cb79859c0e
commit
57d718fde1
@ -506,15 +506,16 @@ docker-build:
|
||||
test-coverage:
|
||||
stage: test
|
||||
only:
|
||||
- coverage
|
||||
- master
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- rm -rf target/*
|
||||
- rm -rf js/.coverage
|
||||
- scripts/cov.sh
|
||||
- COVERAGE=$(grep -Po 'covered":.*?[^\\]"' target/kcov/index.json | grep "[0-9]*\.[0-9]" -o)
|
||||
- echo "Coverage:" $COVERAGE
|
||||
# - COVERAGE=$(grep -Po 'covered":.*?[^\\]"' target/cov/index.json | grep "[0-9]*\.[0-9]" -o)
|
||||
# - echo "Coverage:" $COVERAGE
|
||||
tags:
|
||||
- kcov
|
||||
allow_failure: true
|
||||
test-darwin:
|
||||
stage: test
|
||||
only:
|
||||
|
Loading…
Reference in New Issue
Block a user