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