We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e9e9c commit b4fd51dCopy full SHA for b4fd51d
tools/ci/check_validate.sh
@@ -14,9 +14,9 @@ export PYTHONPATH=${GRAPH_NET_EXTRACT_WORKSPACE}:$PYTHONPATH
14
[ -z "$CUDA_VISIBLE_DEVICES" ] && CUDA_VISIBLE_DEVICES="0"
15
16
function prepare_env() {
17
- num_changed_files=$(git diff --name-only develop | grep -E "samples/(.*\.py|.*\.json)" | wc -l)
18
- if [ ${num_changed_files} -eq 0 ]; then
19
- LOG "[INFO] This pull request doesn't change any files of op benchmark, skip the CI."
+ num_changed_samples=$(git diff --name-only develop | grep -E "samples/(.*\.py|.*\.json)" | wc -l)
+ if [ ${num_changed_samples} -eq 0 ]; then
+ LOG "[INFO] This pull request doesn't change any samples, skip the CI."
20
exit 0
21
fi
22
0 commit comments