From e5e878994409447f66828cbbb9dc3cc4e1f03409 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Tue, 27 Oct 2020 11:32:40 +0100
Subject: [PATCH] Check src/ folder and ignore all current warnings!

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 592cc0887..d986ae52f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -206,6 +206,8 @@ deploy_cppcheck_to_elladan:
     - ansible-playbook -i ansible/hosts.cfg -u public_pages ansible/playbook_cppcheck.yml
 
 
+# lizard - Cyclomatic Complexity Analyzer
+# Ignore warnings is manually set to 191. This job will fail when new warnings are added.
 lizard:
   stage: test
 
@@ -221,7 +223,7 @@ lizard:
 
   script:
     - cd $CI_PROJECT_DIR
-    - lizard -l cpp src/cpu/VirtualFluids.h> lizard.txt
+    - lizard -l cpp src/ > lizard.txt --ignore_warnings 191
 
   artifacts:
     paths:
-- 
GitLab