Skip to content

Commit 6e7d8bf

Browse files
authored
Merge pull request #20 from xoviat/testresults
Enable "tests" tab on appveyor.
2 parents 643c33a + ce1e6a1 commit 6e7d8bf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,6 @@ test_script:
8888
# Run the tests appropriate for this entry in the test matrix. Skip tests
8989
# if we're just updating the cache.
9090
- "if not \"%APPVEYOR_SCHEDULED_BUILD%\" == \"True\" (%CMD_IN_ENV% %TEST1_CMD% )"
91+
92+
after_test:
93+
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\junit-results.xml))

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ python_files = "tests/win32/test_*.py" "tests/win32com/test_ROT.py"
1616
#
1717
# py.test -k test_name
1818
#
19-
addopts = "-v" "-rsxXfE" "--doctest-glob=" "--continue-on-collection-errors"
19+
addopts = "-v" "-rsxXfE" "--doctest-glob=" "--continue-on-collection-errors" "--junitxml=junit-results.xml"

0 commit comments

Comments
 (0)