From 8770acd7d9a7bc73eab4ab9214efbf7914b1d447 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Mon, 23 Sep 2019 13:57:03 +0200
Subject: [PATCH] Fix integration test

Problem: integration test needs to add new remote when triggered from
fork
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8878b59c7..c49077bb2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -114,6 +114,8 @@ pycodegen-integration:
     - git submodule foreach git fetch origin   # compare the latest master version!
     - git submodule foreach git reset --hard origin/master
     - cd pystencils
+    - git remote add test $CI_REPOSITORY_URL
+    - git fetch test
     - git reset --hard $CI_COMMIT_SHA
     - cd ..
     - export PYTHONPATH=`pwd`/pystencils:`pwd`/lbmpy:`pwd`/pygrandchem:`pwd`/pystencils_walberla:`pwd`/lbmpy_walberla
-- 
GitLab