Updated drone to run unit tests using py.test. Renamed steps from install-* to test-*.

This commit is contained in:
2020-02-18 21:04:33 +01:00
parent c95568e3b8
commit b8f9ddbbf4

View File

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