From 5f6109ae0dfe4f5f460a2989c22b83aa88c8d0c6 Mon Sep 17 00:00:00 2001
From: Fadi Imani <fadi.imani.etu@univ-lille.fr>
Date: Tue, 2 Apr 2024 04:30:58 +0200
Subject: [PATCH] big project

---
 .gitlab-ci.yml | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 63a704c..f7e7d36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,16 +54,13 @@ test:
 #      when: always
 
 coverage:
-    stage: coverage
-    script:
-      - gcov -f -b build/*
-      - lcov --directory build --base-directory .  -c -o cov.info
-      - mkdir report1
-      - genhtml cov.info -o report
-    coverage: '/^\s*lines\S*\s*(\d+(?:\.\d+)?%)\s*/'
-    when: on_success
-    dependencies:
-      - job:test
-    artifacts:
-      paths:
-        - report/
+  stage: coverage
+  script:
+    - gcov -f -b build/*
+    - lcov --directory build --base-directory .  -c -o cov.info
+    - mkdir report1
+    - genhtml cov.info -o report
+  coverage: '/^\s*lines\S*\s*(\d+(?:\.\d+)?%)\s*/'
+  artifacts:
+    paths:
+      - report/
-- 
GitLab