mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Better error message for android-tests workflow
See this link as an example how it will look in annotations: https://github.com/pytorch/pytorch/actions/runs/2242670732 Pull Request resolved: https://github.com/pytorch/pytorch/pull/76577 Approved by: https://github.com/linbinyu
This commit is contained in:
committed by
PyTorch MergeBot
parent
b182c22e15
commit
9445609ee3
@ -48,4 +48,9 @@ fi
|
||||
echo "Waiting for emulator boot completed"
|
||||
$ADB_PATH wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'
|
||||
|
||||
$GRADLE_PATH -PABI_FILTERS=x86 -p $PYTORCH_ANDROID_DIR connectedAndroidTest
|
||||
{
|
||||
$GRADLE_PATH -PABI_FILTERS=x86 -p $PYTORCH_ANDROID_DIR connectedAndroidTest
|
||||
} || {
|
||||
echo "::error::Check https://github.com/pytorch/pytorch/tree/master/test/mobile/model_test to see how to fix the failed mobile test"
|
||||
exit 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user