Rely on poetry's virtual env

This commit is contained in:
Lukáš Kucharczyk 2023-01-05 12:19:32 +01:00
parent 3e32261d4a
commit 66a49ff911
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 1 additions and 4 deletions

View File

@ -7,13 +7,10 @@ steps:
- name: test
image: python:3.10
commands:
- 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
- poetry run pytest
- name: build container
image: plugins/docker
settings: