Files
torrent_search/.drone.yml

25 lines
426 B
YAML

---
kind: pipeline
type: docker
name: torrentSearch
platform:
os: linux
arch: amd64
steps:
- name: Install python
image: python:3.8
commands:
- python setup.py install
- pip install pytest
- pytest
- name: Upload coverage report
image: python:3.8
commands:
- python setup.py install
- pip install pytest
- coverage run -m pytest
- codecov -t $CODECOV_TOKEN