Commit c0d14efb authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

.gitlab-ci.yml: move coverage analysis to the end, set it manual

See #3339. We want to have first fast tests.
Once we will have #3340, we will run again always this stage.
parent 59ce922d
Pipeline #31729 passed with stages
in 32 minutes and 17 seconds
...@@ -16,13 +16,13 @@ stages: ...@@ -16,13 +16,13 @@ stages:
- test_functional - test_functional
- test_functional_external - test_functional_external
- test_shouldvdj - test_shouldvdj
- coverage
- prepare_release - prepare_release
- release - release
- valgrind_unit - valgrind_unit
- valgrind_functional - valgrind_functional
- prepare_deploy - prepare_deploy
- deploy_prod - deploy_prod
- coverage
# Anchors # Anchors
...@@ -54,8 +54,7 @@ test_germlines: ...@@ -54,8 +54,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
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
...@@ -67,15 +66,13 @@ test_tools_unit: ...@@ -67,15 +66,13 @@ test_tools_unit:
test_algo_should: test_algo_should:
stage: test_functional stage: test_functional
script: make -C algo should_coverage script: make -C algo should
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
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
...@@ -83,11 +80,15 @@ algo_coverage: ...@@ -83,11 +80,15 @@ algo_coverage:
stage: coverage stage: coverage
coverage: /^\s*lines\.*:\s+([0-9.]+\%)/ coverage: /^\s*lines\.*:\s+([0-9.]+\%)/
script: script:
- make -C algo unit_coverage
- make -C algo should_coverage
- make -C algo shouldvdj_coverage
- make -C algo lcov_reports - make -C algo lcov_reports
- mv algo/reports/ coverage - mv algo/reports/ coverage
artifacts: artifacts:
paths: paths:
- coverage/ - coverage/
when: manual
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