diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ca6981746c2bd0bb8ac20c37633e2ec05a7ea4b..c008174b99bc4fcda8a3f5631e3b209c2ed561a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ stages:
 
 .test:
   stage: test
-  before_script:
+  script:
     - pip install --break-system-packages --upgrade Cython setuptools pip coverage nose2
     - pip install --break-system-packages -r requirements.txt
     - python setup.py build_ext --inplace
@@ -21,6 +21,6 @@ test_python310:
   image: python:3.10
 
 
-test_python310:
+test_python311:
   extends: .test
   image: python:3.11
\ No newline at end of file