From c72bc72d1d77aab3017bbac9b17a19a379d34ac5 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Thu, 21 Feb 2019 16:20:22 +0100 Subject: [PATCH] gitlabci: run lint on test files as well --- .gitlab-ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c57ef01f..c5e4b2519 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -133,9 +133,6 @@ kres-gen: lint:tidy: <<: *test - before_script: [] - tags: - - docker script: - ninja -C build_ci* tidy @@ -146,10 +143,10 @@ lint:pedantic: - linux - amd64 script: - - meson build_pedantic_gcc -Dwerror=true -Dc_args='-Wpedantic' + - meson build_pedantic_gcc -Dwerror=true -Dc_args='-Wpedantic' -Dpostinstall_tests=enabled - ninja -C build_pedantic_gcc - > - CC=clang CXX=clang++ meson build_pedantic_clang -Dwerror=true -Dc_args=' + CC=clang CXX=clang++ meson build_pedantic_clang -Dwerror=true -Dpostinstall_tests=enabled -Dc_args=' -Wpedantic -Wno-newline-eof -Wno-gnu-zero-variadic-macro-arguments -Wno-gnu-folding-constant' - ninja -C build_pedantic_clang @@ -175,7 +172,7 @@ lint:scan-build: script: - export SCANBUILD="scan-build --status-bugs -no-failure-reports $(./scripts/get-scanbuild-args.sh)" - ninja -C build_ci* scan-build || true - - test "$(ls build_ci*/meson-logs/scanbuild/*/report-*.html | wc -l)" = 14 # we have this many errors ATM :-) + - test "$(ls build_ci*/meson-logs/scanbuild/*/report-*.html | wc -l)" = 29 # we have this many errors ATM :-) docker: stage: test -- 2.47.2