diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 632815a..f7967a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,12 +51,13 @@ static_analysis: - pio init --ide atom script: # - cppcheck --enable=all --check-config src - - cppcheck src + - cppcheck --error-exitcode=1 src 2>&1 | tee cppcheck-err.txt - script/build_compile_commands.py - - run-clang-tidy -fix src -# artifacts: -# reports: -# - + - run-clang-tidy -fix -export-fixes=clang-tidy-fixes.yml src + artifacts: + reports: + - clang-tidy-fixes.yml + - cppcheck-err.txt deploy: stage: deploy