Skip to content

Commit f849ea7

Browse files
committed
CI: skip step if no clang-tidy YAML reports
1 parent e9ad258 commit f849ea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/CI-linux.yml

+1
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ jobs:
405405
set -xe
406406
. "$PWD/codechecker/venv/bin/activate"
407407
export PATH="$PWD/codechecker/build/CodeChecker/bin:$PATH"
408+
[ -d "${BUILD_DIR}/clang-tidy/" ] || exit 0
408409
set +e
409410
report-converter -t clang-tidy-yaml -o "${BUILD_DIR}/codechecker_clangtidy_results" "${BUILD_DIR}/clang-tidy/"
410411
CodeChecker parse -e sarif "${BUILD_DIR}/codechecker_clangtidy_results" -o "${GITHUB_WORKSPACE}/codechecker_clangtidy_report.json"

0 commit comments

Comments
 (0)