summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-09-29 11:22:35 +0200
committerThomas Haller <thaller@redhat.com>2022-10-03 17:50:03 +0200
commit991481a568d957f55c82f226d5c402ad848acc02 (patch)
tree3b49a2d81462c68e2ecc16885e1690009f4e472d /.gitlab-ci
parent6cbad147210d0d1f742f9028687592145b967048 (diff)
gitlab: fail if "run-test.sh" with dirty working tree
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/run-test.sh2
1 files changed, 1 insertions, 1 deletions
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