Set up test environment for testing
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Lukáš Kucharczyk 2023-01-05 12:05:16 +01:00
parent 9b07758198
commit 3e32261d4a
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg

View File

@ -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: