Skip to content

Commit

Permalink
ci: (fixes #830) skip clang-tidy-diff for non-sources locations
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyPec committed Dec 22, 2022
1 parent 5c8b820 commit 4847bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/tests/gitlab-ci-code-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ clang-tidy-diff:
- git fetch upstream master
- git diff -U0 upstream/master |
clang-tidy-diff-14.py -path cmake-cache/ -p1 -quiet
-iregex "(contrib|examples|src|scratch|utils)\/.+\.(cpp|cc|cxx|c|h|hpp)"
1> $CLANG_TIDY_OUTPUT
2> /dev/null
- if egrep -A 3 "file not found \[clang-diagnostic-error\]" $CLANG_TIDY_OUTPUT ; then
Expand Down

0 comments on commit 4847bf6

Please sign in to comment.