diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ead600825bf1022f710083ee04406f953a211dba..710c4bc989c42da215e4d7e4eb0c91332d65d382 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,7 +34,8 @@ bundle_and_test:
 test_api:
   stage: test
   script:
-    - ./run.sh test
+    - pip3 install tox
+    - tox
 
 pages:
   stage: deploy