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
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: create virtual env
|
||||||
|
image: python:3.11-alpine
|
||||||
|
commands:
|
||||||
|
- python -m venv .venv
|
||||||
|
|
||||||
- name: install
|
- name: install
|
||||||
image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
commands:
|
commands:
|
||||||
- &path
|
- &path
|
||||||
export PATH="${DRONE_WORKSPACE}/.venv/bin:$$PATH"
|
export PATH="${DRONE_WORKSPACE}/.venv/bin:$$PATH"
|
||||||
- python -m venv .venv
|
|
||||||
- which pip
|
- which pip
|
||||||
- pip install black flake8 isort poetry
|
- pip install black flake8 isort poetry
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue