Commit a03bba5c authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #2401 from webknjaz/testing/appveyor-test-reporting

Report test results in the AppVeyor UI
parents 893d8154 5706841b
...@@ -41,9 +41,14 @@ test_script: ...@@ -41,9 +41,14 @@ test_script:
- python -m pip install --disable-pip-version-check --upgrade pip setuptools wheel - python -m pip install --disable-pip-version-check --upgrade pip setuptools wheel
- pip install --upgrade tox tox-venv virtualenv - pip install --upgrade tox tox-venv virtualenv
- pip freeze --all - pip freeze --all
- tox - tox -- --junit-xml=test-results.xml
after_test: after_test:
- tox -e coverage,codecov - 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}' version: '{build}'
Enabled test results reporting in AppVeyor CI
-- by :user:`webknjaz`
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment