From 51ba4b6ab7619bbabd4ed720ade4e10739d0a790 Mon Sep 17 00:00:00 2001
From: Tao Lin <lintao@ihep.ac.cn>
Date: Fri, 29 Nov 2019 21:19:14 +0800
Subject: [PATCH] Update .gitlab-ci.yml: try to add the dependencies between
 build and test.

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7edde17b..5947ffc7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,8 @@ build:
 # run tests using the binary built before
 test:
   stage: test
+  dependencies:
+    - build
   script:
     - cd build
     - ./run gaudirun.py '$EXAMPLESROOT/options/tut_detsim.py'
-- 
GitLab