• moto's avatar
    Refactor smoke test executions (#2365) · 6a8a28bb
    moto authored
    Summary:
    The smoke test jobs simply perform `import torchaudio` to check
    if the package artifacts are sane.
    
    Originally, the CI was executing it in the root directory.
    This was fine unless the source code is checked out.
    When source code is checked out, performing `import torchaudio` in
    root directory would import source torchaudio directory, instead of the
    installed package.
    
    This error is difficult to notice, so this commit introduces common script to
    perform the smoke test, while moving out of root directory.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2365
    
    Reviewed By: carolineechen
    
    Differential Revision: D36202069
    
    Pulled By: mthrok
    
    fbshipit-source-id: 4396f85fec5c54869ada4c08f51304539f1b05cf
    6a8a28bb
run_smoke_test.sh 365 Bytes