diff --git a/.drone.yml b/.drone.yml index dcd7959..2c41a38 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,9 +7,13 @@ steps: - name: test image: python:3.10 commands: - - "python -m pip install poetry" - - "poetry install" - - "pytest" + - VIRTUAL_ENV=/opt/venv + - "python3 -m venv pip $VIRTUAL_ENV" + - PATH="$VIRTUAL_ENV/bin:$PATH" + - python -m pip install poetry + - poetry install + - poetry env info + - pytest - name: build container image: plugins/docker settings: