Commit 5fc20114 authored by Mikaël Salson's avatar Mikaël Salson

.gitlab-ci.yml: Include files produced by lcov

As pointed out by @magiraud the files may not be present
anymore on the slave to analyse the coverage. We therefore
need to pass them as artifacts.
parent 205d73fc
...@@ -24,6 +24,13 @@ stages: ...@@ -24,6 +24,13 @@ stages:
- prepare_deploy - prepare_deploy
- deploy_prod - deploy_prod
# Anchors
.coverage_dependency: &lcov_artifact
artifacts:
paths:
- algo/lcov_test_*.filtered
expire_in: 6hrs
# Tools # Tools
...@@ -48,6 +55,7 @@ test_germlines: ...@@ -48,6 +55,7 @@ test_germlines:
test_algo_unit: test_algo_unit:
stage: test_unit stage: test_unit
script: make -C algo unit_coverage script: make -C algo unit_coverage
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
...@@ -62,10 +70,12 @@ test_algo_should: ...@@ -62,10 +70,12 @@ test_algo_should:
script: make -C algo should_coverage script: make -C algo should_coverage
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
<<: *lcov_artifact
test_algo_shouldvdj: test_algo_shouldvdj:
stage: test_shouldvdj stage: test_shouldvdj
script: make -C algo shouldvdj_coverage script: make -C algo shouldvdj_coverage
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*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