From b03b01adfbefbc29e19dd0e6334cefcec3ea8db0 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 29 Sep 2022 11:22:35 +0200 Subject: [PATCH] gitlab: fail if "run-test.sh" with dirty working tree (cherry picked from commit 991481a568d957f55c82f226d5c402ad848acc02) --- .gitlab-ci/run-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/run-test.sh b/.gitlab-ci/run-test.sh index a91b8b7360..5b3f18f0f5 100755 --- a/.gitlab-ci/run-test.sh +++ b/.gitlab-ci/run-test.sh @@ -25,7 +25,7 @@ do_clean() { git checkout -- po/ git status - git diff + git diff --exit-code } ARTIFACT_DIR=/tmp/nm-artifact