From 5a4076fc407a8dd3daf7f884833d3c4b553fb195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Fri, 7 Aug 2020 14:35:05 +0200 Subject: [PATCH] Do not run "make recheck" if the test suite fails Running "make recheck" after the test suite fails hides intermittent system test failures in GitLab CI. This makes it hard to identify which branches are affected by a particular test failure mode and causes CI results to be overly optimistic. Prevent "make recheck" from being run when "make check" fails to ensure GitLab CI results properly reflect the stability of the "main" branch. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b5b422828..178dc5d0fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -248,7 +248,7 @@ stages: - *setup_softhsm script: - cd bin/tests/system - - make -j${TEST_PARALLEL_JOBS:-1} -k check V=1 || make -j${TEST_PARALLEL_JOBS:-1} -k recheck V=1 + - make -j${TEST_PARALLEL_JOBS:-1} -k check V=1 after_script: - cat bin/tests/system/test-suite.log