From 53bba82c2fe578f97ca833ec890be6f36ccad10a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Wed, 28 Apr 2021 11:33:13 +0200
Subject: [PATCH] [ci] avoid call to dune control in test stage

---
 .gitlab-ci/affectedtestsonly.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci/affectedtestsonly.yml b/.gitlab-ci/affectedtestsonly.yml
index c3bb83411d..7387f722f4 100644
--- a/.gitlab-ci/affectedtestsonly.yml
+++ b/.gitlab-ci/affectedtestsonly.yml
@@ -16,20 +16,19 @@ select tests:
     - dunecontrol --opts=$DUNE_OPTS_FILE --current all
     - |
       pushd build-cmake
-        python3 ../bin/testing/findtests.py -f ../affectedtests.json -t origin/master
+        python3 ../bin/testing/findtests.py -f affectedtests.json -t origin/master
       popd
   artifacts:
     paths:
-      - affectedtests.json
+      - build-cmake
     expire_in: 3 hours
 
 build dumux:
   stage: build
   script:
-    - dunecontrol --opts=$DUNE_OPTS_FILE --current all
-    - cp affectedtests.json build-cmake
     - |
       pushd build-cmake
+        make clean
         python3 ../bin/testing/runselectedtests.py -c affectedtests.json -b
       popd
   artifacts:
@@ -43,7 +42,6 @@ build dumux:
 test dumux:
   stage: test
   script:
-    - dunecontrol --opts=$DUNE_OPTS_FILE --current all
     - |
       pushd build-cmake
         python3 ../bin/testing/runselectedtests.py -c affectedtests.json -t
-- 
GitLab