[gnome-commander/ci_test] Echo tests/test-suite.log on failed unit test




commit 474458815aecc06f6b5a6a7f4f6f443901427602
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Jan 30 18:29:28 2022 +0100

    Echo tests/test-suite.log on failed unit test

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0dc77262..ed51dc89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,5 +20,5 @@ build-job:       # This job runs in the build stage, which runs first.
     - ./autogen.sh
     - make
     - echo "Compile complete. Starting Unit test phase..."
-    - make check
+    - make check || echo "Unit tests fail" && cat tests/test-suite.log && exit 1
     - echo "Unit tests finished."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]