diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18bc956e6253c7539020e1fea0fb2fa7886325e2..3a6393c9e30e6ed5d8bff224cc1cdc561515c15f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ stages:
   - coverage
 
 # Define the job for building the project
-build:
+job:build:
   stage: build
 
   script:
@@ -27,7 +27,7 @@ build:
 
 
 
-test:
+job:test:
   stage: test
   script:
     - pwd
@@ -48,20 +48,29 @@ test:
 #  coverage: '/Total:\|\s*([0-9.]+%)\s.*$/'
 
 
-coverage:
+job:coverage:
   stage: coverage
   script:
-    - cp tests/test.txt build
-    - cp tests/stopWords.txt build
-    - cd build
-    - ./bin/ExampleTests
+#    - cp tests/test.txt build
+#    - cp tests/stopWords.txt build
+#    - cd build
+#    - ./bin/ExampleTests
     - ls -l
     - cd CMakeFiles/ExampleTests.dir/
     - ls -l
     - lcov -d . -c -o coverage.info
     - lcov -r coverage.info */build/* */tests/* */c++/* -o coverageFiltered.info
     - lcov --list coverageFiltered.info
+    - mkdir report1
+    - genhtml cov.info -o report
   coverage: '/Total:\|\s*([0-9.]+%)\s.*$/'
+  when: on_success
+  dependencies:
+    - job:test
+  artifacts:
+    paths:
+      - report/
+