diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6475b5048ce639eb83c20be3cb2efceb4f420b6c..bfd05705b3c70f3fcfc5282aad4d3498bcda06b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ test-job:
     - python3 -m venv .venv             # Create Python virtual environment
     - source .venv/bin/activate         # Activate Python virtual environment
     - pip3 install -r requirements.txt  # Install Python dependencies
-    - python3 test/test.py              # Run tests
     - pip3 install build                # Install build package
     - python3 -m build                  # Build package
     - pip3 install .                    # Install package
+    - python3 test/test.py              # Run tests