diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52b1fff2f1a841f7879cd9a414d78fbad42db3fb..40cb36085a25d458747654aa9104a34e445e6f66 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@ stages:
   - test
   - report
 
-.template: &pyt_test
+.test_template: &py_test
   stage: test
   tags:
     - conda