Set up test environment for testing
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
9b07758198
commit
3e32261d4a
10
.drone.yml
10
.drone.yml
|
@ -7,9 +7,13 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- "python -m pip install poetry"
|
- VIRTUAL_ENV=/opt/venv
|
||||||
- "poetry install"
|
- "python3 -m venv pip $VIRTUAL_ENV"
|
||||||
- "pytest"
|
- PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||||
|
- python -m pip install poetry
|
||||||
|
- poetry install
|
||||||
|
- poetry env info
|
||||||
|
- pytest
|
||||||
- name: build container
|
- name: build container
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in New Issue