Rely on poetry's virtual env
This commit is contained in:
parent
3e32261d4a
commit
66a49ff911
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue