mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[CD] Run smoke tests on MacOS wheel (#143393)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/143393 Approved by: https://github.com/atalman, https://github.com/seemethere
This commit is contained in:
committed by
PyTorch MergeBot
parent
b247f87845
commit
2642bbc6dc
@ -241,9 +241,10 @@ if [[ -z "$BUILD_PYTHONLESS" ]]; then
|
||||
|
||||
echo "$(date) :: Running tests"
|
||||
# TODO: Add real tests, as run_test.sh from builder is a glorified no-op
|
||||
# pushd "$pytorch_rootdir"
|
||||
# "${SOURCE_DIR}/../run_tests.sh" 'wheel' "$desired_python" 'cpu'
|
||||
# popd
|
||||
pushd "$pytorch_rootdir"
|
||||
pip install numpy
|
||||
python .ci/pytorch/smoke_test/smoke_test.py --package torchonly
|
||||
popd
|
||||
echo "$(date) :: Finished tests"
|
||||
fi
|
||||
else
|
||||
|
Reference in New Issue
Block a user