diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fea2f94bf7e2b83cb587da6b86de3c7b5f2a604e..66236a8dfe40292c15ea49b20f455ddec586ae9b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,2 +1,3 @@
 doctests and unitests:
-    script: pytest --doctest-modules -v --ignore=GUIs
\ No newline at end of file
+    script: pip install pytest
+            pytest --doctest-modules -v --ignore=GUIs
\ No newline at end of file