Skip to content

Commit 7bbb6cb

Browse files
committed
record test results on appveyor
1 parent 63e8d7f commit 7bbb6cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ build_script:
4848

4949

5050
test_script:
51-
- "%PYTHON%\\python.exe -m pytest --verbose -p no:cacheprovider"
51+
- "%PYTHON%\\python.exe -m pytest --verbose -p no:cacheprovider --addopts --junit-xml=tests.xml"
52+
- ps: >-
53+
$wc = New-Object 'System.Net.WebClient'
54+
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))
5255
5356
branches:
5457
only:

0 commit comments

Comments
 (0)