测试Python覆盖率Codecov
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
c7d1d9be8e
commit
2c0d250ee4
26
.drone.yml
26
.drone.yml
|
@ -27,19 +27,25 @@ steps:
|
|||
- python ./python/hello.py
|
||||
- pytest --cov ./python/
|
||||
|
||||
- name: codecov
|
||||
image: robertstettner/drone-codecov
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
token:
|
||||
from_secret: codecov_pytest
|
||||
files:
|
||||
- python/lcov.info
|
||||
flags:
|
||||
- unit
|
||||
host:
|
||||
from_secret: work_wx_email_host
|
||||
port:
|
||||
from_secret: work_wx_email_port
|
||||
username: lzwang
|
||||
password:
|
||||
from_secret: work_wx_noreply_password
|
||||
from:
|
||||
from_secret: work_wx_noreply_email
|
||||
skip_verify: false
|
||||
recipients:
|
||||
- lzwang1994@163.com
|
||||
subject: "${DRONE_REPO_NAME} Build No.${DRONE_BUILD_NUMBER}"
|
||||
body: "${DRONE_COMMIT_AUTHOR} please visit ${DRONE_BUILD_LINK}"
|
||||
|
||||
|
||||
|
||||
- name: "CI失败 微信推送"
|
||||
# https://plugins.drone.io/plugins/wechat-2
|
||||
image: clem109/drone-wechat
|
||||
|
|
Loading…
Reference in New Issue