From 98446fff2663742e2ca25b4d5f12f0d0496290a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com>
Date: Fri, 30 Aug 2024 12:47:09 +0200
Subject: [PATCH] pypy fix

---
 .gitlab-ci.yml | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 58099a34..505ad637 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,27 +17,13 @@ pages:
 .test:
   stage: test
   before_script:
-    - pip install --break-system-packages --upgrade Cython setuptools pip coverage nose2
-    - pip install --break-system-packages -r requirements.txt
+    - pip install --break-system-packages --upgrade pytest setuptools pip coverage nose2
+    - pip install ".[dev,test]"
   script:
-    - python setup.py install
-    - cd example
-    - python setup.py build_ext --inplace
-    - nose2 -vv
-
-test_python35:
-  extends: .test
-  image: python:3.5
-  before_script:
-    - pip install --upgrade Cython setuptools pip coverage nose2
-    - pip install -r requirements.txt
-
-test_python36:
-  extends: .test
-  image: python:3.6
-  before_script:
-    - pip install --upgrade Cython setuptools pip coverage nose2
-    - pip install -r requirements.txt
+    - pytest -n 8 -vv --cov=satella
+    - coverage xml
+    - coverage report
+  coverage: /TOTAL.*\s+(\d+\%)/
 
 test_python37:
   extends: .test
-- 
GitLab