File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ printf "Installing PyTorch with %s\n" "${cudatoolkit}"
2020conda install -y -c pytorch-nightly pytorch " ${cudatoolkit} "
2121
2222printf " * Installing torchaudio\n"
23- BUILD_SOX=1 python setup.py develop
23+ BUILD_SOX=1 python setup.py install
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ python -m torch.utils.collect_env
1515export TORCHAUDIO_TEST_FAIL_IF_NO_EXTENSION=1
1616export PATH=" ${PWD} /third_party/install/bin/:${PATH} "
1717
18+ cd test
1819if [ " ${os} " == MacOSX ] ; then
19- pytest -q -n auto --dist=loadscope --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 test
20+ pytest -q -n auto --dist=loadscope --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 .
2021else
21- pytest -v --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 test
22+ pytest -v --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 .
2223fi
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ printf "Installing PyTorch with %s\n" "${cudatoolkit}"
2020conda install -y -c pytorch-nightly pytorch " ${cudatoolkit} "
2121
2222printf " * Installing torchaudio\n"
23- python setup.py develop
23+ python setup.py install
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')"
66conda activate ./env
77
88python -m torch.utils.collect_env
9- pytest --cov=torchaudio --junitxml=test-results/junit.xml -v --durations 20 test
10- flake8 torchaudio test
9+ cd test
10+ pytest --cov= torchaudio --junitxml= test-results/junit.xml -v --durations 20 .
You can’t perform that action at this time.
0 commit comments