diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 8e7408048b0b93a2d58e787d6d9155b6ec0bd1db..51093d859f2713fc87c96f010eaca211ec4d11c5 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -950,6 +950,7 @@ function main() { cmake_gen ${PYTHON_ABI:-""} build ${parallel_number} gen_dockerfile ${PYTHON_ABI:-""} + assert_api_spec_approvals ;; test) parallel_test @@ -981,9 +982,8 @@ function main() { cicheck) cmake_gen ${PYTHON_ABI:-""} build ${parallel_number} - assert_api_not_changed ${PYTHON_ABI:-""} parallel_test - assert_api_spec_approvals + assert_api_not_changed ${PYTHON_ABI:-""} ;; cicheck_brpc) cmake_gen ${PYTHON_ABI:-""}