From 066b3806585df98ddca639c2759e9f920f811aa6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Peters?= <soe.peters@tu-braunschweig.de>
Date: Tue, 9 Feb 2021 16:49:20 +0100
Subject: [PATCH] Increase the amount of ignored warnings for the lizard
 command, as gitlab CI cannot provide the lizard output when the job failed.
 Therefore we need this job to pass in any case. Also added the
 --warnings_only flag to make the output less cluttered.

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26196513d..219e56928 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -404,7 +404,7 @@ lizard:
 
   script:
     - cd $CI_PROJECT_DIR
-    - lizard -l cpp src/ > lizard.txt --ignore_warnings 191
+    - lizard -l cpp src/ > lizard.txt --warnings_only --ignore_warnings 400
 
   artifacts:
     paths:
@@ -596,4 +596,4 @@ create_release:
       --ref "$CI_COMMIT_SHA" \
       --job-token "$CI_JOB_TOKEN" \
       --assets-link="{'name':'VirtualFluidsSingularityImage_OpenMPI','url':'','type':'other','filepath':'Containers/VirtualFluidsOpenMPI.sif'}"
-    - build/bin/basicsTests
\ No newline at end of file
+    - build/bin/basicsTests
-- 
GitLab