* .gitlab-ci.yml: Fail if coverage goes below 90.7%.
This commit is contained in:
parent
dae46567e7
commit
bfb8f0a078
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ debian-unstable-gcc-coverage:
|
||||||
- ./configure CXX='g++ --coverage' --enable-devel --disable-static --enable-doxygen
|
- ./configure CXX='g++ --coverage' --enable-devel --disable-static --enable-doxygen
|
||||||
- make
|
- make
|
||||||
- make check
|
- make check
|
||||||
- gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml --root $PWD -e 'bin/spot.cc' -e 'bin/spot-x.cc' -e 'spot/bricks/.*' -e 'spot/parse.*/scan.*.cc' -e 'spot/parse.*/parse.*.cc' -e 'utf8/.*' -e 'python/.*' -e 'buddy/.*' -e 'doc/org/tmp/.*' --html-details coverage.html --html-tab-size 8
|
- gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml --root $PWD -e 'bin/spot.cc' -e 'bin/spot-x.cc' -e 'spot/bricks/.*' -e 'spot/parse.*/scan.*.cc' -e 'spot/parse.*/parse.*.cc' -e 'utf8/.*' -e 'python/.*' -e 'buddy/.*' -e 'doc/org/tmp/.*' --html-details coverage.html --html-tab-size 8 --fail-under-line 90.7
|
||||||
coverage: /^\s*lines:\s*\d+.\d+\%/
|
coverage: /^\s*lines:\s*\d+.\d+\%/
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue