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

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1017511?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie02a7307877b84916677071123722bcfd94ab423
Gerrit-Change-Number: 1017511
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to