diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-10-17 10:19:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-17 10:19:30 -0400 |
| commit | a03bba5c3d73b9ea306753d78b21584024769686 (patch) | |
| tree | 2139fa0058875cfa24f835d6c596fefb4f022d59 | |
| parent | 893d815425322a45c3e932db7bb574cc3af4d03e (diff) | |
| parent | 5706841b1120b852193a5576c3bfcfa0cf666ab4 (diff) | |
| download | python-setuptools-git-a03bba5c3d73b9ea306753d78b21584024769686.tar.gz | |
Merge pull request #2401 from webknjaz/testing/appveyor-test-reporting
Report test results in the AppVeyor UI
| -rw-r--r-- | appveyor.yml | 7 | ||||
| -rw-r--r-- | changelog.d/2401.misc.rst | 2 |
2 files changed, 8 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}' diff --git a/changelog.d/2401.misc.rst b/changelog.d/2401.misc.rst new file mode 100644 index 00000000..924880a3 --- /dev/null +++ b/changelog.d/2401.misc.rst @@ -0,0 +1,2 @@ +Enabled test results reporting in AppVeyor CI +-- by :user:`webknjaz` |
