Make clang-tidy check more aggressive
[alexxy/gromacs.git] / admin / gitlab-ci / lint.gitlab-ci.yml
index 51813fee1a848a58e0762a436e1caa6b7c005322..cd6d6843adbba00bf6f9852e1d2a0a2da3351d4b 100644 (file)
@@ -67,7 +67,7 @@ clang-tidy:test:
     - echo "Revision used for branch point is $REV"
     - git show -s $REV
     - RUN_CLANG_TIDY=run-clang-tidy-$COMPILER_MAJOR_VERSION bash admin/clang-tidy.sh check --parallel=$KUBERNETES_CPU_LIMIT --warnings=clang-tidy.log --rev=$REV -B=$BUILD_DIR
-    - grep -i "found code issues" clang-tidy.log | tee code-lint.txt || true
+    - grep -i "found code issues|warnings" clang-tidy.log | tee code-lint.txt || true
     - if [ -s code-lint.txt ] ; then echo "clang-tidy.sh found issues"; exit 1; fi
   artifacts:
     when: on_failure