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
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue