测试流水线自动构建
This commit is contained in:
parent
d53d320108
commit
15e50ad1f9
@ -15,10 +15,9 @@ steps:
|
||||
- docker push registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA}
|
||||
|
||||
- name: backtest
|
||||
image: python:3.11-slim
|
||||
image: python:3.11
|
||||
commands:
|
||||
- pip install -r requirements.txt
|
||||
- python tests/run_backtest.py
|
||||
- echo "哈哈哈,我成功了"
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
@ -27,4 +26,4 @@ volumes:
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
- master # 指定 master 分支触发
|
||||
Loading…
Reference in New Issue
Block a user