Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1017511?usp=email )
Change subject: [tests] use new codecov-cli package for upload ......................................................................
[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(-)
Approvals: Xqt: Verified; Looks good to me, approved
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
pywikibot-commits@lists.wikimedia.org