未验证 提交 56283952 编写于 作者: T tianshuo78520a 提交者: GitHub

Fix PR-CI-Static-Check (#37417)

Fix PR-CI-Static-Check
上级 399ddf99
......@@ -2301,7 +2301,12 @@ function build_document_preview() {
# origin name: example
function exec_samplecode_test() {
pip install ${PADDLE_ROOT}/build/python/dist/*.whl
if [ -d "${PADDLE_ROOT}/build/pr_whl" ];then
pip install ${PADDLE_ROOT}/build/pr_whl/*.whl
else
pip install ${PADDLE_ROOT}/build/python/dist/*.whl
fi
paddle version
cd ${PADDLE_ROOT}/tools
if [ "$1" = "cpu" ] ; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册