1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
TestCoverage:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/tests/testprojectreleaseontag/ci_build:0.1
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
- mkdir -p build coverage
- cd build
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=yes
-DCMAKE_BUILD_TYPE=Coverage
- make all
- make install
- make test
- make ExperimentalCoverage
- cd ../coverage
- gcovr -r ../ --exclude-throw-branches --html cov_report.html --html-details
- gcovr -r ../ --exclude-throw-branches --xml Coverage.xml
- gcovr -r ../ --exclude-throw-branches
artifacts:
paths:
- coverage
expire_in: 8d
only:
- branches
- tags
tags:
|