测试Python覆盖率Codecov
continuous-integration/drone/push Build is passing Details

main
lzwang 2022-09-05 00:20:32 +08:00
parent 2ba8a3c178
commit bdf7076696
1 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,17 @@ steps:
- python ./python/hello.py - python ./python/hello.py
- pytest ./python/test_demo.py - pytest ./python/test_demo.py
- name: codecov
image: robertstettner/drone-codecov
settings:
token:
from_secret: codecov_pytest
files:
- python/coverage/unit/lcov.info
flags:
- unit
- name: "CI失败 微信推送" - name: "CI失败 微信推送"
# https://plugins.drone.io/plugins/wechat-2 # https://plugins.drone.io/plugins/wechat-2