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