diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-09-26 11:12:09 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-09-26 11:12:09 +0200 |
commit | c7bf7961624c2c524edfe04513379d063621bece (patch) | |
tree | 758c373ffe935006bf10549433ea885360e7d78e | |
parent | 1ea521c51b0ed2967a9ff1d8ad41160043a8a981 (diff) | |
download | python-setuptools-git-c7bf7961624c2c524edfe04513379d063621bece.tar.gz |
Report test results in the AppVeyor UI
-rw-r--r-- | appveyor.yml | 7 |
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}' |