From 61e88970d61f53c74508b8eb482daf7e67136407 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 14 Dec 2023 01:37:52 +0100 Subject: [PATCH] ci: create venv in its own step --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c19f35d..a7ef064 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,12 +5,16 @@ type: docker name: default steps: + - name: create virtual env + image: python:3.11-alpine + commands: + - python -m venv .venv + - name: install image: python:3.11-alpine commands: - &path export PATH="${DRONE_WORKSPACE}/.venv/bin:$$PATH" - - python -m venv .venv - which pip - pip install black flake8 isort poetry