测试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
|
- python ./python/hello.py
|
||||||
- pytest --cov ./python/
|
- pytest --cov ./python/
|
||||||
|
|
||||||
- name: codecov
|
- name: notify
|
||||||
image: robertstettner/drone-codecov
|
image: drillster/drone-email
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
settings:
|
settings:
|
||||||
token:
|
host:
|
||||||
from_secret: codecov_pytest
|
from_secret: work_wx_email_host
|
||||||
files:
|
port:
|
||||||
- python/lcov.info
|
from_secret: work_wx_email_port
|
||||||
flags:
|
username: lzwang
|
||||||
- unit
|
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失败 微信推送"
|
- name: "CI失败 微信推送"
|
||||||
# https://plugins.drone.io/plugins/wechat-2
|
# https://plugins.drone.io/plugins/wechat-2
|
||||||
image: clem109/drone-wechat
|
image: clem109/drone-wechat
|
||||||
|
|
Loading…
Reference in New Issue