test-ci
continuous-integration/drone/push Build is passing Details

main
lzwang 2022-09-03 00:41:10 +08:00
parent 09a46547c9
commit 45c9f2d3d6
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ name: "中文流水线" # 当前管道的名称
steps: # 定义管道的执行步骤 steps: # 定义管道的执行步骤
- name: "中文STEP" # 步骤名称 - name: "中文STEP" # 步骤名称
image: node:latest # 当前步骤使用的镜像 image: node:latest # 当前步骤使用的镜像
pull: if-not-exists
commands: # 当前步骤执行的命令 commands: # 当前步骤执行的命令
- echo "********************" - echo "********************"
- date - date
@ -13,6 +14,7 @@ steps: # 定义管道的执行步骤
- name: "测试Python用例" - name: "测试Python用例"
image: "lzwang/python3.10:tsinghua" image: "lzwang/python3.10:tsinghua"
pull: if-not-exists
commands: commands:
- pip install --upgrade pip - pip install --upgrade pip
- pip -V - pip -V
@ -24,6 +26,7 @@ steps: # 定义管道的执行步骤
- name: "测试微信推送" - name: "测试微信推送"
# https://plugins.drone.io/plugins/wechat-2 # https://plugins.drone.io/plugins/wechat-2
image: clem109/drone-wechat image: clem109/drone-wechat
pull: if-not-exists
settings: settings:
corpid: corpid:
from_secret: wechat_corp_id from_secret: wechat_corp_id