diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae8aa997652bc818ad958e88c36bbfc47241dc4b..c0076f6637975dc5cbe8e35a1b091ada9df4491f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,13 +21,16 @@ image: ubuntu:jammy code_quality: stage: test + allow_failure: true + needs: [] + dependencies: [] only: - main - merge_requests tags: - docker script: - - DEBIAN_FRONTEND=noninteractive apt update && apt install -y python3 cppcheck + - 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-codequality --input-file=cppcheck_out.xml --output-file=cppcheck.json