diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 592cc0887ea2a6fd07e0aa4e281d87f4babd1d39..d986ae52f48cff79114080eda4f50ba2493d9612 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: