From 73cc0d954623d81a055834f4f9c7313ccfe5a4f5 Mon Sep 17 00:00:00 2001
From: nguyed99 <nguyed99@zedat.fu-berlin.de>
Date: Fri, 19 Jan 2024 20:59:56 +0100
Subject: [PATCH] Update pipeline

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 14d16d7..e3cf818 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,15 +18,15 @@ build-env:
     - pip install poetry
     - cd build/
     - poetry install --no-root
-    - source $(poetry env info --path)/bin/activate
-    - cd ..
   
 test-jobs:
   stage: test-jobs
   script:
+    - source $(poetry env info --path)/bin/activate
     - pytest jobs/tests/
 
 test-tasks:
   stage: test-tasks
   script:
+    - source $(poetry env info --path)/bin/activate
     - pytest tasks/tests/
\ No newline at end of file
-- 
GitLab