Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
do not use outside folder as pythonpath but run nosetests inside
Browse files Browse the repository at this point in the history
  • Loading branch information
zhreshold committed Aug 6, 2018
1 parent c37e3b7 commit 52f96eb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ci/windows/test_py2_cpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# under the License.

7z x -y windows_package.7z
$env:PYTHONPATH=join-path $pwd.Path windows_package\python
for /r %%i in (*.dll) do xcopy /Y /C "%%i" .\\python\\mxnet\\
$env:PYTHONPATH=join-path $pwd.Path python
$env:MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
c:\Anaconda3\envs\py2\Scripts\pip install -r tests\requirements.txt
c:\Anaconda3\envs\py2\python.exe -m nose -v --with-xunit --xunit-file nosetests_unittest.xml tests\python\unittest
Expand Down
3 changes: 2 additions & 1 deletion ci/windows/test_py2_gpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# under the License.

7z x -y windows_package.7z
$env:PYTHONPATH=join-path $pwd.Path windows_package\python
for /r %%i in (*.dll) do xcopy /Y /C "%%i" .\\python\\mxnet\\
$env:PYTHONPATH=join-path $pwd.Path python
$env:MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
c:\Anaconda3\envs\py2\Scripts\pip install -r tests\requirements.txt
c:\Anaconda3\envs\py2\python.exe -m nose -v --with-xunit --xunit-file nosetests_unittest.xml tests\python\unittest
Expand Down
3 changes: 2 additions & 1 deletion ci/windows/test_py3_cpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# under the License.

7z x -y windows_package.7z
$env:PYTHONPATH=join-path $pwd.Path windows_package\python
for /r %%i in (*.dll) do xcopy /Y /C "%%i" .\\python\\mxnet\\
$env:PYTHONPATH=join-path $pwd.Path python
$env:MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
c:\Anaconda3\envs\py3\Scripts\pip install -r tests\requirements.txt
c:\Anaconda3\envs\py3\python.exe -m nose -v --with-xunit --xunit-file nosetests_unittest.xml tests\python\unittest
Expand Down
3 changes: 2 additions & 1 deletion ci/windows/test_py3_gpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# under the License.

7z x -y windows_package.7z
$env:PYTHONPATH=join-path $pwd.Path windows_package\python
for /r %%i in (*.dll) do xcopy /Y /C "%%i" .\\python\\mxnet\\
$env:PYTHONPATH=join-path $pwd.Path python
$env:MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
c:\Anaconda3\envs\py3\Scripts\pip install -r tests\requirements.txt
c:\Anaconda3\envs\py3\python.exe -m nose -v --with-xunit --xunit-file nosetests_unittest.xml tests\python\unittest
Expand Down

0 comments on commit 52f96eb

Please sign in to comment.