Rely on poetry's virtual env
This commit is contained in:
parent
3e32261d4a
commit
66a49ff911
|
@ -7,13 +7,10 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- VIRTUAL_ENV=/opt/venv
|
|
||||||
- "python3 -m venv pip $VIRTUAL_ENV"
|
|
||||||
- PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
||||||
- python -m pip install poetry
|
- python -m pip install poetry
|
||||||
- poetry install
|
- poetry install
|
||||||
- poetry env info
|
- poetry env info
|
||||||
- pytest
|
- poetry run pytest
|
||||||
- name: build container
|
- name: build container
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in New Issue