Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/909206 )

Change subject: [coverage] Invoke codecov.sh  for Appveyor
......................................................................

[coverage] Invoke codecov.sh  for Appveyor

https://codingdefined.github.io/hive-blog/how-i-added-appveyor-codecov-to-net-core-open-source-project

Bug: T334674
Change-Id: I52e334e092fff9b8dd5e8e3128a03ee920b1cfe2
---
M .appveyor.yml
1 file changed, 16 insertions(+), 4 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/.appveyor.yml b/.appveyor.yml
index a82cd16..3daa226 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -86,11 +86,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
-    Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
-    bash codecov.sh -f "coverage.xml"
+      $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
+      Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
+      bash codecov.sh -f "coverage.xml"

 artifacts:
   - path: dist\*  .coverage coverage.xml

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/909206
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: I52e334e092fff9b8dd5e8e3128a03ee920b1cfe2
Gerrit-Change-Number: 909206
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to