Skip to content
Snippets Groups Projects
Commit 1062d689 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Merge branch 'feature/ci-code-checker-with-file' into 'feature/ci-code-checker'

Add config file to the checker

See merge request !1322
parents 6543392d 96f1da67
No related branches found
No related tags found
2 merge requests!1322Add config file to the checker,!1321Add Code Quality analysis in the CI
Pipeline #66681 canceled
{
"analyze": [
"--analyzers=clang-tidy",
"--file=*/dune-common/*.cc"
],
"parse": [
"--file=*/dune-common/*"
]
}
SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
......@@ -48,8 +48,8 @@ debian:11 clang-11-20-nobindings:
extends: .common
after_script:
- source /duneci/venv/bin/activate
- CodeChecker analyze build-cmake/compile_commands.json --analyzers=clang-tidy --file="*/dune-common/*.cc" -o ./reports || echo "CodeChecker analyzer failed with exit status $?"
- CodeChecker parse --trim-path-prefix $PWD --file="*/dune-common/*" -e codeclimate ./reports > ./reports/gl-code-quality-report.json || echo "CodeChecker parser failed with exit status $?"
- CodeChecker analyze build-cmake/compile_commands.json --config .codechecker.json -o ./reports || echo "CodeChecker analyzer failed with exit status $?"
- CodeChecker parse --config .codechecker.json --trim-path-prefix $PWD -e codeclimate ./reports > ./reports/gl-code-quality-report.json || echo "CodeChecker parser failed with exit status $?"
image: registry.dune-project.org/docker/ci/debian:11
variables:
DUNECI_TOOLCHAIN: clang-11-20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment