File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ addons:
3030 - ca-certificates-mono
3131
3232before_install :
33+ # Set-up location where `Python.Test.dll` will be output
34+ - export PYTHONPATH=`pwd`:$PYTHONPATH
35+
3336 # Set-up dll path for embedded tests
3437 - PY_LIBDIR=$(python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))')
3538 - export LD_LIBRARY_PATH=$PY_LIBDIR:$LD_LIBRARY_PATH
@@ -40,15 +43,12 @@ install:
4043 - coverage run setup.py build_ext --inplace
4144
4245script :
43- # Set-up and run python tests
44- - export PYTHONPATH=`pwd`:$PYTHONPATH
4546 - python -m pytest
4647
47- - cp Python.Runtime.dll.config src/embed_tests/bin/Python.Runtime.dll.config
48- # Run embedded tests
48+ - cp Python.Runtime.dll.config src/embed_tests/bin/
4949 # - mono ./packages/NUnit.*/tools/nunit3-console.exe src/embed_tests/bin/Python.EmbeddingTest.dll
5050
51- after_success :
51+ after_script :
5252 # Uncomment if need to geninterop, ie. py37 final
5353 # - python tools/geninterop/geninterop.py
5454
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ build_script:
4444
4545test_script :
4646 - pip install --no-index --find-links=.\dist\ pythonnet
47- - ps : Copy-Item (Resolve-Path .\build\*\ Python.Test.dll) C:\testdir
47+ - ps : Copy-Item .\src\testing\bin\ Python.Test.dll C:\testdir\
4848
4949 - ps : .\ci\appveyor_run_tests.ps1
5050 - ps : .\ci\appveyor_build_recipe.ps1
You can’t perform that action at this time.
0 commit comments