This commit is contained in:
parent
ca8786c1b1
commit
d6193c654e
@ -3,7 +3,7 @@ type: docker
|
|||||||
name: quant-ci
|
name: quant-ci
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build docker image
|
- name: build-and-push
|
||||||
image: docker:20.10
|
image: docker:20.10
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
@ -14,11 +14,10 @@ steps:
|
|||||||
- docker build -t registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA} .
|
- docker build -t registry.memorion.cn/quant/strategy:${DRONE_COMMIT_SHA} .
|
||||||
- docker push 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
|
image: python:3.11-slim
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- mkdir -p data
|
|
||||||
- python tests/run_backtest.py
|
- python tests/run_backtest.py
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user