Defined clearer steps in drone build

This commit is contained in:
2022-05-30 22:41:13 +02:00
parent 5bc240ed18
commit 6109bd2c56

View File

@@ -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: