diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 961033ea39dc94ad4fd46738c516ab182952999a..ce5f68a32316d39ee1320b3ab7b97e6aeb2724f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,6 +22,7 @@ pytest:
             - tests/pytest_project/**/*
 
 tests:
+    extends: $PROJECT
     stage: templates
     variables:
         PROJECT_PATH: "tests/$PROJECT_project"