From f5f4037959b45252ea025e6d7240e71daaa63e97 Mon Sep 17 00:00:00 2001
From: fspreck <f.spreckelsen@indiscale.com>
Date: Thu, 27 Oct 2022 17:52:46 +0200
Subject: [PATCH] WIP: Don't use tox in unittests

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52be41f9..954652a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,13 +61,9 @@ unittest_py3.8:
   image: python:3.8
   script: &python_test_script
     - touch ~/.pycaosdb.ini
-    - cd unittests/docker
-    - cp sources.list.local /etc/apt/
-    - mv /etc/apt/sources.list /etc/apt/sources.list.orig
-    - cat /etc/apt/sources.list.local /etc/apt/sources.list.orig > /etc/apt/sources.list
-    - apt-get update && apt-get install -y tox
-    - cd ../..
-    - make unittest
+    - pip install pytest
+    - pip install .
+    - python -m pytest unittests
 
 # Trigger building of server image and integration tests
 trigger_build:
-- 
GitLab