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 @@ -14,8 +14,9 @@ conda activate ./env
1414python -m torch.utils.collect_env
1515export PATH=" ${PWD} /third_party/install/bin/:${PATH} "
1616
17+ cd test
1718if [ " ${os} " == MacOSX ] ; then
18- pytest -q -n auto --dist=loadscope --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 test
19+ pytest -q -n auto --dist=loadscope --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 .
1920else
20- pytest -v --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 test
21+ pytest -v --cov=torchaudio --junitxml=test-results/junit.xml --durations 20 .
2122fi
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