Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/909254 )
Change subject: [coverage] Try to find coverage.xml from artifacts ......................................................................
[coverage] Try to find coverage.xml from artifacts
Bug: T334674 Change-Id: I41d27ffcf4af0800390ab1d3d07c1c295b8a35ce --- M .appveyor.yml 1 file changed, 12 insertions(+), 2 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.appveyor.yml b/.appveyor.yml index 3daa226..d45fc52 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -86,11 +86,11 @@
- "%CMD_IN_ENV% coverage run -m unittest discover -vv -p "*_tests.py""
-after_test: +on_finish: - 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" + bash codecov.sh
artifacts: - path: dist* .coverage coverage.xml
pywikibot-commits@lists.wikimedia.org