diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 74b7141b32372c33b5946abe03db406282b26a84..6bcd9c587f94b3b8ab98f3e804c56c7390962c84 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -145,7 +145,7 @@ python-3.9:
       - htmlcov/
     expire_in: 30 days
 
-python-3.10:
+.python-3.10:
   <<: *unit-test
   needs: ["basic-3.10", "precommits-py3.10"]
   image: containers.ligo.org/lscsoft/bilby/v2-bilby-python310
@@ -169,7 +169,7 @@ python-3.9-samplers:
   needs: ["basic-3.9", "precommits-py3.9"]
   image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39
 
-python-3.10-samplers:
+.python-3.10-samplers:
   <<: *test-sampler
   needs: ["basic-3.10", "precommits-py3.10"]
   image: containers.ligo.org/lscsoft/bilby/v2-bilby-python310