From 1d4742fb078be402e375711dbfb30ba5e0e0de3b Mon Sep 17 00:00:00 2001
From: Rebecca Kohlhaas <rebecca.kohlhaas@iws.uni-stuttgart.de>
Date: Thu, 27 Jun 2024 09:12:29 +0000
Subject: [PATCH] Pipeline: changed pytest command

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c279e829c..0cec496ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,11 +61,12 @@ unit-test-job:   # This job runs in the test stage.
   script:
     - echo "Running unit tests..."
     - pip install pytest
-    - pytest --junitxml=report.xml
+    # - pytest --junitxml=report.xml
+    - python -m pytest tests
   artifacts:
     when: always
-    reports:
-      junit: report.xml
+    #reports:
+    #  junit: report.xml
 
 lint-test-job:   # This job also runs in the test stage.
   stage: test    # It can run at the same time as unit-test-job (in parallel).
-- 
GitLab