From 6f37fb95853b9cbae6f0a208cbefed2a06ac8f5b Mon Sep 17 00:00:00 2001 From: Pavel Lutskov Date: Sun, 12 Sep 2021 12:19:07 +0200 Subject: [PATCH 1/2] Test making CI/CD parallel --- .drone.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 412493e..2d93105 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,17 +3,21 @@ type: docker name: test steps: + - name: black + image: pyfound/black:21.7b0 + commands: + - black --check --diff --quiet . + - 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 -- 2.49.1 From f4411bb204e0fad4b69421e7e11cef1bb315629e Mon Sep 17 00:00:00 2001 From: Pavel Lutskov Date: Sun, 12 Sep 2021 12:24:09 +0200 Subject: [PATCH 2/2] Test making CI/CD parallel (2) --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 2d93105..30930f6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,7 @@ steps: image: pyfound/black:21.7b0 commands: - black --check --diff --quiet . + depends_on: [] - name: test-python-3.8 image: python:3.8-slim -- 2.49.1