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