File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8181 run : |
8282 docker exec -t ${{ env.container_name }} /bin/bash -c '
8383 source ${{ github.workspace }}/../../../proxy
84- git config --global --add safe.directory ${work_dir}
8584 bash ${work_dir}/tools/ci/check_validate.sh
8685 '
8786
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export PYTHONPATH=${GRAPH_NET_EXTRACT_WORKSPACE}:$PYTHONPATH
1414[ -z " $CUDA_VISIBLE_DEVICES " ] && CUDA_VISIBLE_DEVICES=" 0"
1515
1616function prepare_env() {
17+ git config --global --add safe.directory " *"
1718 num_changed_samples=$( git diff --name-only develop | grep -E " samples/(.*\.py|.*\.json)" | wc -l)
1819 if [ ${num_changed_samples} -eq 0 ]; then
1920 LOG " [INFO] This pull request doesn't change any samples, skip the CI."
@@ -44,7 +45,7 @@ function check_validation() {
4445 for model_path in ${MODIFIED_MODEL_PATHS[@]}
4546 do
4647 python -m graph_net.torch.validate --model-path ${GRAPH_NET_EXTRACT_WORKSPACE} /${model_path} >&2
47- [ $? -ne 0 ] && fail_name[${# fail_name[@]} ]=" ${model_path} (Run on ${device_type} ) "
48+ [ $? -ne 0 ] && fail_name[${# fail_name[@]} ]=" ${model_path} "
4849 done
4950 if [ ${# fail_name[@]} -ne 0 ]
5051 then
You can’t perform that action at this time.
0 commit comments