测试流水线自动构建

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