Commit 506b0050 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Mikaël Salson

.gitlab-ci.yml: Make lcov_artifact and junit artifacts cohabitate

See !289
parent 6812904e
Pipeline #40749 passed with stages
in 41 minutes and 25 seconds
...@@ -28,8 +28,8 @@ stages: ...@@ -28,8 +28,8 @@ stages:
# Anchors # Anchors
.coverage_dependency: &lcov_artifact .coverage_dependency:
artifacts: artifacts: &lcov_artifact
paths: paths:
- algo/lcov_test_*.filtered - algo/lcov_test_*.filtered
expire_in: 6hrs expire_in: 6hrs
...@@ -58,7 +58,8 @@ test_germlines: ...@@ -58,7 +58,8 @@ 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 artifacts:
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
- schedules - schedules
...@@ -67,17 +68,18 @@ test_algo_should: ...@@ -67,17 +68,18 @@ test_algo_should:
stage: test_functional stage: test_functional
script: make -C algo should_coverage script: make -C algo should_coverage
artifacts: artifacts:
<<: *lcov_artifact
reports: reports:
junit: algo/tests/should.xml junit: algo/tests/should.xml
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
- schedules - schedules
<<: *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 artifacts:
<<: *lcov_artifact
only: only:
- /^feature-.*a.*\/.*$/ - /^feature-.*a.*\/.*$/
- schedules - schedules
......
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