diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e19b78032420d57cf0d6379fa2ebed8a809d6c56..e09e6e91431bea040de448534bb7dfc92f0debb6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -89,8 +89,8 @@ doc-coverage:
     - make doc
     - mv doc/doxygen-html ${CI_PROJECT_DIR}
     - mkdir -p ${CI_PROJECT_DIR}/coverage/
-    - gcovr -r . --exclude bindings/python
-    - gcovr -r . --exclude bindings/python --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
+    - gcovr -r . --exclude .*bindings/python
+    - gcovr -r . --exclude .*bindings/python --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
   artifacts:
     expire_in: 1 day
     paths: