From d6193c654e0cc6757fea0ceea29e0b92c3f6db95 Mon Sep 17 00:00:00 2001 From: ai-liuys Date: Sat, 21 Feb 2026 17:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=9E=84=E5=BB=BA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=B5=81=E6=B0=B4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 44ec5ef..d7e9a27 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: