From 52b5323d48d1839fd4f2d2018318797a97f6641f Mon Sep 17 00:00:00 2001
From: Filip Matusiak <filip.matusiak@iopsys.eu>
Date: Tue, 5 Sep 2023 10:29:08 +0200
Subject: [PATCH] CI: Add CPD options in place of inactive RUN_CPD

Increased to avoid false duplication detection for wifi_opclass ids.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7afb4467..686e6b4a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ variables:
   DEBUG: 'TRUE'
   SOURCE_FOLDER: "."
   CPPCHECK_OPTIONS: " --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=unreadVariable --suppress=variableScope"
-  RUN_CPD: "/home/user/pmd-bin-6.19.0/bin/run.sh cpd --minimum-tokens 300 --language c --exclude ./test/cmocka --files"
+  CPD_OPTIONS: " --minimum-tokens 300 --language c --exclude ./test/cmocka --files"
 
 run_compile_test:
     stage: compile_test
-- 
GitLab