This commit is contained in:
parent
ca8786c1b1
commit
d6193c654e
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user