Files
torrent_search/.drone.yml
Kevin 82cfbae900 Fix/drone setup missing packages (#4)
* Trying explicitly defining colored package version.

* Try first installing from requirements.

* Tried defining pyproject file.

* Requirements references setup packages.

* Import __version__ from import statement directly.

* Removed unused packages and restored requirements file.

* Install dependencies before running setup.
2021-07-04 16:18:00 +02:00

29 lines
556 B
YAML

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