From 874e6359241594a7fdfef59924532361c236cf7f Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 14 Nov 2021 16:24:14 +0300 Subject: [PATCH] [ci] ignore CMakeLint errors related to package names (#4801) * Update test.sh * Update test.sh * Update test.sh * Update FindLibR.cmake * Update r_package.yml * Update FindLibR.cmake * Update r_package.yml --- .ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/test.sh b/.ci/test.sh index 9afd0a86a659..3f0510aa75e8 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -82,7 +82,7 @@ if [[ $TASK == "lint" ]]; then echo "Linting C++ code" cpplint --filter=-build/c++11,-build/include_subdir,-build/header_guard,-whitespace/line_length --recursive ./src ./include ./R-package ./swig ./tests || exit -1 cmake_files=$(find . -name CMakeLists.txt -o -path "*/cmake/*.cmake") - cmakelint --linelength=120 --filter=-readability/wonkycase ${cmake_files} || true + cmakelint --linelength=120 --filter=-convention/filename,-package/stdargs,-readability/wonkycase ${cmake_files} || exit -1 exit 0 fi