cppcheck: stage: test script: - '( apt-get update -y && apt-get install cppcheck python3-pip -y )' - pip install cppcheck-codequality --break-system-packages # Generate CppCheck report as XML - cppcheck --xml --enable=all ./app 2> cppcheck.xml # Convert to a Code Climate JSON report - cppcheck-codequality --input-file cppcheck.xml --output-file cppcheck.json artifacts: reports: codequality: cppcheck.json paths: - cppcheck.xml