Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fc0a532a authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Add lcov coverage results in the pages

parent a239d428
Branches
Tags
No related merge requests found
......@@ -38,7 +38,7 @@ default:
stage: test
script:
- ./.gitlab/test.sh
coverage: /^\s*lines:\s*\d+.\d+\%/
coverage: /^\s*lines......:\s*\d+.\d+\%/
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
expire_in: 2 days
......
......@@ -11,7 +11,7 @@ coverage:
stage: analyse
script:
- tools/coverage.sh
coverage: /^\s*lines:\s*\d+.\d+\%/
coverage: /^\s*lines......:\s*\d+.\d+\%/
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
expire_in: 2 days
......
......@@ -2,7 +2,7 @@
pages:
stage: deploy
extends: .only-master
dependencies: []
dependencies: [coverage]
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
expire_in: 1 week
......
......@@ -21,6 +21,7 @@ then
cd $CI_PROJECT_DIR || fatal
gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o ${LOGNAME}.cov --root $CI_PROJECT_DIR || fatal
lcov --directory build-$VERSION --capture --output-file ${LOGNAME}.lcov || fatal
lcov --summary ${LOGNAME}.lcov || fatal
cp ${LOGNAME}.junit junit.xml || fatal
cp ${LOGNAME}.cov coverage.xml || fatal
else
......
......@@ -97,8 +97,10 @@ developers must follow and that should be read by contributors.
* CDash tests dashboard
To see details about the tests performed during the [[https://gitlab.inria.fr/solverstack/chameleon/pipelines][pipelines]] visit
[[https://my.cdash.org/index.php?project=Chameleon][CDash]].
[[https://my.cdash.org/index.php?project=Chameleon][CDash]]. It has been stopped for now because the CDash server is somehow
slow and our jobs may fail because of that.
* Static and dynamic analysis
To see details about the analysis job performed during the
[[https://gitlab.inria.fr/solverstack/chameleon/pipelines][pipelines]] visit [[https://sonarqube.bordeaux.inria.fr/sonarqube/dashboard?id=hiepacs%3Achameleon%3Agitlab%3Asolverstack%3Amaster][Sonarqube]].
[[https://gitlab.inria.fr/solverstack/chameleon/pipelines][pipelines]] visit [[https://sonarqube.inria.fr/sonarqube/dashboard?id=hiepacs%3Achameleon%3Agitlab%3Asolverstack][Sonarqube]].
See also the coverage of unitary tests here : [[https://solverstack.gitlabpages.inria.fr/chameleon/coverage][LCOV coverage]].
......@@ -22,5 +22,6 @@ do
done
lcov $INPUT_FILES -o chameleon.lcov
lcov --summary chameleon.lcov
genhtml -o coverage chameleon.lcov
lcov_cobertura chameleon.lcov --output chameleon_coverage.xml
gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml --root ${CI_PROJECT_DIR}
......@@ -67,3 +67,4 @@ cp build-$VERSION/doc/user/*.jpg public/
cp build-$VERSION/doc/user/*.svg public/
cp -r build-$VERSION/doc/dev/html/* public/dev/
cp tmp_fig/* public/
cp -r coverage public/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment