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-ne...
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