diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6382baa..b9e0622e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,12 +28,13 @@ build: coverage: stage: Coverage - coverage: '/^\s*lines(.)*:\s*\d+.\d+\%/' + coverage: '/Total:\|(\d+\.?\d+\%)/' script: # delete all empty files since they produce errors - find coverage -size 0 -type f -delete - - ls -lah + - ls coverage/ -lah - lcov `find coverage -type f -exec echo "-a {}" \;` -o coverage/final.out + - lcov --list coverage/final.out artifacts: paths: - coverage/final.out