run_test.sh 245 Bytes
Newer Older
moto's avatar
moto committed
1
2
3
4
#!/usr/bin/env bash

set -e

5
eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')"
moto's avatar
moto committed
6
7
8
conda activate ./env

python -m torch.utils.collect_env
moto's avatar
moto committed
9
pytest --cov=torchaudio --junitxml=test-results/junit.xml -v --durations 20 test
moto's avatar
moto committed
10
flake8 torchaudio test