Commit c49803f6 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Upload test coverage detailed report in generated pages

parent d910be21
Pipeline #96585 passed with stages
in 13 minutes and 46 seconds
......@@ -2,6 +2,7 @@ image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenix/phoenix_minimal:0.
stages:
- BuildTestinstall
- DocCoverage
- deploy
#- build
......@@ -23,25 +24,22 @@ dailyBuildMasterAll:
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=yes
- make all
- make install
- make test
only:
- branches
- tags
tags:
dailyCoverageMasterAll:
#cache:
#untracked: true
#paths:
#- build/
stage: BuildTestinstall
TestCoverage:
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
- mkdir -p build
- mkdir -p build coverage
- cd build
- >
cmake ..
......@@ -53,13 +51,19 @@ dailyCoverageMasterAll:
- make install
- make test
- make ExperimentalCoverage
- cd ../coverage
- gcovr -r ../ --html cov_report.html --html-details
artifacts:
paths:
- coverage
expire_in: 1d
only:
- branches
- tags
tags:
pages:
stage: deploy
Doc:
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
......@@ -70,6 +74,7 @@ pages:
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
- make all
- make doc
......@@ -84,3 +89,15 @@ pages:
tags:
pages:
stage: deploy
script:
- mv coverage public/
artifacts:
paths:
- public
expire_in: 1d
/** @brief This library provides tools to ease graph manipulation
*
*
*/
/** @mainpage This library provides tools to ease graph manipulation
*
* <a href="coverage/cov_report.html">See test coverage detail from gcovr</a>
*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment