Commit 13526bb2 authored by Jan Travnicek's avatar Jan Travnicek

filter out tests from clang-tidy

parent 3e1abd7c
......@@ -22,7 +22,7 @@ readability-*,\
-readability-else-after-return,\
"
WarningsAsErrors: '*'
HeaderFilterRegex: '.*/(src|test-src)/*'
HeaderFilterRegex: '.*/(src)/*'
CheckOptions:
- key: modernize-use-default-member-init.UseAssignment
value: '1'
......
......@@ -101,7 +101,7 @@ static:cppcheck:
static:clang-tidy:
<<: *static_template
script:
- jq ".[].file" release/compile_commands.json | tr -d "\"" | xargs -n1 -P$(grep -c processor /proc/cpuinfo) clang-tidy-9 -p release/
- jq ".[].file" release/compile_commands.json | tr -d "\"" | grep -v "test-src" | xargs -n1 -P$(grep -c processor /proc/cpuinfo) clang-tidy-9 -p release/
# -----------------------------------------------
# build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment