summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-09-26 11:12:09 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-09-26 11:12:09 +0200
commitc7bf7961624c2c524edfe04513379d063621bece (patch)
tree758c373ffe935006bf10549433ea885360e7d78e
parent1ea521c51b0ed2967a9ff1d8ad41160043a8a981 (diff)
downloadpython-setuptools-git-c7bf7961624c2c524edfe04513379d063621bece.tar.gz
Report test results in the AppVeyor UI
-rw-r--r--appveyor.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c067bad7..4d1ae55f 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -41,9 +41,14 @@ test_script:
- python -m pip install --disable-pip-version-check --upgrade pip setuptools wheel
- pip install --upgrade tox tox-venv virtualenv
- pip freeze --all
- - tox
+ - tox -- --junit-xml=test-results.xml
after_test:
- tox -e coverage,codecov
+on_finish:
+ - ps: |
+ $wc = New-Object 'System.Net.WebClient'
+ $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test-results.xml))
+
version: '{build}'