Xqt submitted this change.

View Change


Approvals: Xqt: Verified; Looks good to me, approved
[tests] use new codecov-cli package for upload

The previously used bash uploader is deprecated.

Change-Id: Ie02a7307877b84916677071123722bcfd94ab423
---
M .appveyor.yml
1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index cf2b780..4cba969 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -93,9 +93,11 @@

- "%CMD_IN_ENV% coverage run -m unittest discover -vv -p \"*_tests.py\""

-on_finish:
+after_test:
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
coverage report
- Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
- bash codecov.sh -U "-s" -A "-s"
+
+on_finish:
+ - pip install codecov-cli
+ - codecovcli do-upload

To view, visit change 1017511. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie02a7307877b84916677071123722bcfd94ab423
Gerrit-Change-Number: 1017511
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-MessageType: merged