[CI] add test_compare_top_logprobs (#3191)

This commit is contained in:
YuBaoku
2025-08-04 19:49:24 +08:00
committed by GitHub
parent 68bc1d12c0
commit 3eb9a5df60
2 changed files with 119 additions and 1 deletions

View File

@@ -29,7 +29,8 @@ if ! [[ $(python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}') -ge 36
exit 1
fi
diff_files=$(git diff --name-only --diff-filter=ACMR ${BRANCH})
# Exclude any files under the 'test/ce/server/' directory from code style checks.
diff_files=$(git diff --name-only --diff-filter=ACMR ${BRANCH} | grep -v '^test/ce/server/')
num_diff_files=$(echo "$diff_files" | wc -l)
echo -e "diff files between pr and ${BRANCH}:\n${diff_files}"