CI: test coverage (for core) (#4832)
* test coverage * update gitlab add `git submodule update --init --recursive` * test exec coverage in docker runner * tags kcov
This commit is contained in:
parent
aedc473f64
commit
608c0dc613
@ -503,6 +503,18 @@ docker-build:
|
||||
- sh scripts/docker-build.sh $DOCKER_TAG
|
||||
tags:
|
||||
- docker
|
||||
test-coverage:
|
||||
stage: test
|
||||
only:
|
||||
- coverage
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- scripts/cov.sh
|
||||
- COVERAGE=$(grep -Po 'covered":.*?[^\\]"' target/kcov/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