diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44a158b050e3ed726a7ba02204f3f7af76df7054..c11606faec42d15e82019de11ece40a81ad84efb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
 image: python:latest
 
 before_script:
-  - pip install poetry
-  - pip install numpy
-  - pip install coverage
+  - curl -sSL https://install.python-poetry.org | python3 -
+  - export PATH="$PATH:$HOME/.poetry/bin/" 
+  - source $HOME/.poetry/env 
 
 stages:
   - build_package