Updated drone to run unit tests using py.test. Renamed steps from install-* to test-*.
This commit is contained in:
@@ -8,17 +8,19 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install-python3.6
|
- name: test-python3.6
|
||||||
image: python:3.6-alpine
|
image: python:3.6-alpine
|
||||||
commands:
|
commands:
|
||||||
- python --version
|
- python --version
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- py.test test
|
||||||
|
|
||||||
- name: install-python3.8
|
- name: test-python3.8
|
||||||
image: python:3.8-alpine
|
image: python:3.8-alpine
|
||||||
commands:
|
commands:
|
||||||
- python --version
|
- python --version
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- py.test test
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user