diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9203b07e1db9210d8730050611146933bab24179..b2c44d51613af4626499c19caa0bb05d6b154624 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,13 +1,10 @@
 image: maven:3.8.6-eclipse-temurin-17
 
 test:
+    stage: test
     script:
         - mvn $MAVEN_CLI_OPTS clean org.jacoco-maven-plugin:prepare-agent test jacoco:report
-    artifacts:
-        reports:
-            coverage_report:
-                coverage_format: jacoco
-                path: target/site/jacoco/jacoco.xml
+    coverage: /Total.*?([0-9]{1,3})%/
 build:
     script:
         - cd CityDoctorParent