Commit cc1e303c authored by Mikaël Salson's avatar Mikaël Salson

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

Reverts commit c0d14efb.
We don't need this extreme solution: coverage can be quick if not computing
branch coverage.
parent 3ae1c307
Pipeline #31978 passed with stages
in 40 minutes and 2 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,7 +54,8 @@ test_germlines: ...@@ -54,7 +54,8 @@ test_germlines:
test_algo_unit: test_algo_unit:
stage: test_unit stage: test_unit
script: make -C algo unit script: make -C algo unit_coverage
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
...@@ -66,13 +67,15 @@ test_tools_unit: ...@@ -66,13 +67,15 @@ test_tools_unit:
test_algo_should: test_algo_should:
stage: test_functional stage: test_functional
script: make -C algo should 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 script: make -C algo shouldvdj_coverage
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
...@@ -80,15 +83,11 @@ algo_coverage: ...@@ -80,15 +83,11 @@ 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