File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ addons:
30
30
- ca-certificates-mono
31
31
32
32
before_install :
33
+ # Set-up location where `Python.Test.dll` will be output
34
+ - export PYTHONPATH=`pwd`:$PYTHONPATH
35
+
33
36
# Set-up dll path for embedded tests
34
37
- PY_LIBDIR=$(python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))')
35
38
- export LD_LIBRARY_PATH=$PY_LIBDIR:$LD_LIBRARY_PATH
@@ -40,15 +43,12 @@ install:
40
43
- coverage run setup.py build_ext --inplace
41
44
42
45
script :
43
- # Set-up and run python tests
44
- - export PYTHONPATH=`pwd`:$PYTHONPATH
45
46
- python -m pytest
46
47
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/
49
49
# - mono ./packages/NUnit.*/tools/nunit3-console.exe src/embed_tests/bin/Python.EmbeddingTest.dll
50
50
51
- after_success :
51
+ after_script :
52
52
# Uncomment if need to geninterop, ie. py37 final
53
53
# - python tools/geninterop/geninterop.py
54
54
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ build_script:
44
44
45
45
test_script :
46
46
- 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\
48
48
49
49
- ps : .\ci\appveyor_run_tests.ps1
50
50
- ps : .\ci\appveyor_build_recipe.ps1
You can’t perform that action at this time.
0 commit comments