fix workflow ci

pull/4148/head
Afjes 8 months ago
parent 1159147b20
commit 7539112c90

@ -61,14 +61,13 @@ jobs:
runner_name="${{ runner.name }}"
PARENT_DIR=$(dirname "$WORKSPACE")
echo "PARENT_DIR:$PARENT_DIR"
docker run --rm --net=host --cap-add=SYS_PTRACE --privileged --shm-size=64G \
docker run -it --rm --net=host --cap-add=SYS_PTRACE --privileged --shm-size=64G \
-v $(pwd):/workspace -w /workspace \
-e "http_proxy=http://agent.baidu.com:8188" \
-e "https_proxy=http://agent.baidu.com:8188" \
-e "http_proxy=http://172.19.57.45:3128" \
-e "https_proxy=http://172.19.57.45:3128" \
-e "no_proxy=bcebos.com,mirrors.tuna.tsinghua.edu.cn,127.0.0.1,localhost" \
${docker_image} /bin/bash -c "
git config --global --add safe.directory /workspace/PaddleSpeech
unset http_proxy && unset https_proxy
cd PaddleSpeech/tests/unit
git config --global --add safe.directory /workspace/PaddleSpeech &&
cd PaddleSpeech/tests/unit &&
bash ci.sh
"
Loading…
Cancel
Save