Defined clearer steps in drone build
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -8,11 +8,15 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install python
|
- name: Build package
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt
|
- make build
|
||||||
- python setup.py install
|
|
||||||
|
- name: Run tests
|
||||||
|
image: python:3.8
|
||||||
|
commands:
|
||||||
|
- make install
|
||||||
- pip install pytest
|
- pip install pytest
|
||||||
- pytest
|
- pytest
|
||||||
|
|
||||||
@@ -20,7 +24,7 @@ steps:
|
|||||||
image: python:3.8
|
image: python:3.8
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements-dev.txt
|
- pip install -r requirements-dev.txt
|
||||||
- python setup.py install
|
- make install
|
||||||
- coverage run -m pytest
|
- coverage run -m pytest
|
||||||
- codecov -t $CODECOV_TOKEN
|
- codecov -t $CODECOV_TOKEN
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user