镜像构建测试流水线
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
ai-liuys 2026-02-21 17:47:21 +08:00
parent ca8786c1b1
commit d6193c654e

View File

@ -3,7 +3,7 @@ type: docker
name: quant-ci
steps:
- name: build docker image
- name: build-and-push
image: docker:20.10
volumes:
- name: dockersock
@ -14,11 +14,10 @@ steps:
- docker build -t registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA} .
- docker push registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA}
- name: run backtest
- name: backtest
image: python:3.11-slim
commands:
- pip install -r requirements.txt
- mkdir -p data
- python tests/run_backtest.py
volumes: