From 5ddd3ee72d2bd76d196338122227c44d61e8148a Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nicolas.pope@utu.fi>
Date: Sat, 7 May 2022 09:14:27 +0100
Subject: [PATCH] Add suppressions

---
 .gitlab-ci.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0076f6..ffbceeb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,14 @@ include:
 
 image: ubuntu:jammy
 
+flawfinder-sast:
+  stage: test
+  needs: []
+  dependencies: []
+  only:
+    - main
+    - merge_requests
+
 code_quality:
   stage: test
   allow_failure: true
@@ -32,7 +40,7 @@ code_quality:
   script:
     - DEBIAN_FRONTEND=noninteractive apt update && apt install -y python3 python3-pip cppcheck
     - python3 -m pip install -U cppcheck_codequality
-    - cppcheck --xml --enable=warning,style,performance --std=c++14 --suppress=*:*catch.hpp --suppress=*:*json.hpp ./ 2> cppcheck_out.xml
+    - cppcheck --xml --enable=warning,style,performance --std=c++14 --suppress=*:*catch.hpp --suppress=*:*loguru.cpp --suppress=*:*json.hpp ./ 2> cppcheck_out.xml
     - cppcheck-codequality --input-file=cppcheck_out.xml --output-file=cppcheck.json
   artifacts:
     reports:
-- 
GitLab