ci: add initial config

This commit is contained in:
William Luke 2022-02-03 10:49:00 +03:00
parent c044fb9c70
commit 4c098165ad
1 changed files with 29 additions and 0 deletions

29
.drone.yaml Normal file
View File

@ -0,0 +1,29 @@
---
################
# Test #
################
kind: pipeline
name: run_tests
steps:
# Run tests against Python with pytest
- name: engine_test
image: python:3.7.2
commands:
# Install dependencies
- pip install -r test_requirements.txt
- bash ./tests/run_tests.sh
environment:
LOGLEVEL: info
volumes:
# Mount pip cache from host
- name: pip_cache
path: /root/.cache/pip
volumes:
- name: pip_cache
host:
path: /tmp/cache/drone/pip