Run unittests after code style and lint #2
15
.drone.yml
15
.drone.yml
@@ -3,17 +3,22 @@ type: docker
|
|||||||
name: test
|
name: test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: black
|
||||||
|
image: pyfound/black:21.7b0
|
||||||
|
commands:
|
||||||
|
- black --check --diff --quiet .
|
||||||
|
depends_on: []
|
||||||
|
|
||||||
- name: test-python-3.8
|
- name: test-python-3.8
|
||||||
image: python:3.8-slim
|
image: python:3.8-slim
|
||||||
commands:
|
commands:
|
||||||
- python test.py
|
- python test.py
|
||||||
|
depends_on:
|
||||||
|
- black
|
||||||
|
|
||||||
- name: test-python-3.9
|
- name: test-python-3.9
|
||||||
image: python:3.9-slim
|
image: python:3.9-slim
|
||||||
commands:
|
commands:
|
||||||
- python test.py
|
- python test.py
|
||||||
|
depends_on:
|
||||||
- name: black
|
- black
|
||||||
image: pyfound/black:21.7b0
|
|
||||||
commands:
|
|
||||||
- black --check --diff --quiet .
|
|
||||||
|
|||||||
Reference in New Issue
Block a user