Skip to content

Commit 5769ea6

Browse files
committed
Merge branch 'wip/jicquel.coverage' into 'master'
Ensure that coverage is made even when a test fails See merge request eng/toolchain/gnatcoll-core!30
2 parents f9fef59 + 3c10d3a commit 5769ea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test:
5252
--failure-exit-code 1
5353
--xunit-output $CI_PROJECT_DIR/test.xml
5454
--xunit-name gnatcoll-core
55-
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core-current-test/results/new/ || exit 1
55+
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core-current-test/results/new/ || FAILED=true
5656

5757
# We previously prevented the pipeline from halting if a test failed, to make
5858
# sure all tests were run. If a test failed now we exit with a non-zero code
@@ -85,7 +85,7 @@ build_and_test_coverage:
8585
--failure-exit-code 1
8686
--xunit-output $CI_PROJECT_DIR/test-coverage.xml
8787
--xunit-name gnatcoll-core
88-
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core-current-test-cov/results/new/ || exit 1
88+
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core-current-test-cov/results/new/ || FAILED=true
8989

9090
# Create test count badge
9191
- cd $CI_PROJECT_DIR

0 commit comments

Comments
 (0)