diff --git a/.drone.yml b/.drone.yml index 412493e..30930f6 100644 --- a/.drone.yml +++ b/.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