Xqt submitted this change.
[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(-)
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 change 909206. To unsubscribe, or for help writing mail filters, visit settings.