diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 04a7a53976a8ca0a588f0bad7185ac105348f55a..86468576be4e1e15dfff07076dd2b6b9ecbc7244 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,13 +12,29 @@ variables:
   refHuVersion: "38.p12.v31"
   refERCCVersion: "92"
 
+include:
+  - template: Code-Quality.gitlab-ci.yml
+
 stages:
+  - test
   - unit
   - aggregation
   - reference
   - integration
   - consistency
 
+code_quality:
+  stage: test
+  artifacts:
+    paths: [gl-code-quality-report.json]
+    expire_in: 1 year
+
+code_quality_html:
+  stage: test
+  variables:
+    REPORT_FORMAT: html
+  artifacts:
+    paths: [gl-code-quality-report.html]
 
 getBag:
   stage: unit