ci: create venv in its own step
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
cb362e84c8
commit
61e88970d6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue