From b8f9ddbbf4bf0a8c02059caa70c7924016c89276 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 18 Feb 2020 21:04:33 +0100 Subject: [PATCH] Updated drone to run unit tests using py.test. Renamed steps from install-* to test-*. --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fa064ac..95efa8f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,17 +8,19 @@ platform: arch: amd64 steps: -- name: install-python3.6 +- name: test-python3.6 image: python:3.6-alpine commands: - python --version - pip install -r requirements.txt + - py.test test -- name: install-python3.8 +- name: test-python3.8 image: python:3.8-alpine commands: - python --version - pip install -r requirements.txt + - py.test test trigger: branch: