From 6569315fcc1bff171e75a44e99dc88e4be973a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Tue, 14 Jan 2025 16:45:16 +0100
Subject: [PATCH] FIX: gitlab yml

---
 .gitlab-ci.yml | 41 ++++++++++++++++++++++-------------------
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3997932..74e8f5e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,47 +62,50 @@ info:
   script:
     - *env
 
-unittest_py3.11:
-  tags: [cached-dind]
-  stage: test
-  image: $CI_REGISTRY_IMAGE
-  script:
-    - python3 -c "import sys; assert sys.version.startswith('3.11')"
-    - tox
-
-unittest_py3.8:
+unittest_py3.9:
   tags: [cached-dind]
   stage: test
-  image: python:3.8
+  variables:
+    PYVER: "3.9"
+  image: python:3.9
   script: &python_test_script
     # install dependencies
+    - *env
     - pip install pytest pytest-cov
+    - python3 -c "import sys; assert sys.version.startswith('$PYVER')"
     # actual test
-    - cd laonpy && pytest --cov=linkahead_python_package_template -vv ./unittests
+    - cd loanpy && pytest --cov=loanpy -vv ./unittests
 
-unittest_py3.9:
-  tags: [cached-dind]
+unittest_py3.10:
+  variables:
+    PYVER: "3.10"
   stage: test
-  image: python:3.11
+  tags: [cached-dind]
+  image: python:3.10
   script: *python_test_script
 
-unittest_py3.10:
+unittest_py3.11:
+  variables:
+    PYVER: "3.11"
   tags: [cached-dind]
   stage: test
-  image: python:3.10
+  image: python:3.11
   script: *python_test_script
 
 unittest_py3.12:
-  tags: [cached-dind]
+  variables:
+    PYVER: "3.12"
   stage: test
+  tags: [cached-dind]
   image: python:3.12
   script: *python_test_script
 
 unittest_py3.13:
-  allow_failure: true
+  variables:
+    PYVER: "3.13"
   tags: [cached-dind]
   stage: test
-  image: python:3.13-rc
+  image: python:3.13
   script: *python_test_script
 
 build-testenv:
-- 
GitLab