测试流水线自动构建

This commit is contained in:
ai-liuys 2026-02-21 18:05:47 +08:00
parent d53d320108
commit 15e50ad1f9

View File

@ -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 分支触发