From d71d12c9b9517fe20af4628a84bfcfb9a29ec8fe Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Sat, 3 Nov 2018 20:13:20 +0100
Subject: [PATCH] run gui tests

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 97c25a2c4c..313ba735ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,6 +47,7 @@ before_script:
       - "release/*/lib*.so" #select libraries
       - "release/*/test-alib2*" #select libraries test
       - "release/agui2/agui2" #select agui2
+      - "release/agui2/test-agui2" #select agui2
     expire_in: 1 day
   stage: build
 
@@ -75,10 +76,11 @@ build-doc:
 .test-cmake: &test-cmake
   variables:
     # coreutils are needed because of timeout command used in tests.
-    EXTRA_PKGS: bc coreutils python3
+    EXTRA_PKGS: bc coreutils python3 qt5-qtbase qt5-qtbase-x11 graphviz
   script:
     - cd release
     - for test in $(ls */test-alib2*); do ./${test} || exit 1; done
+    - ./agui2/test-agui2
     - cd ..
     - for test in $(ls tests.*.sh); do ./${test} release/bin ${JOBS} || exit 1; touch release/bin/log_tests.txt; cat release/bin/log_tests.txt; done
   stage: test
-- 
GitLab