Update the CI/CD configuration.
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-06-17 19:07:32 +03:00
parent 71f0c034a3
commit 5633c348f4
+8 -6
View File
@@ -3,11 +3,13 @@ type: docker
name: default
steps:
- name: installing deps and test
- name: install dependencies
image: python:3.10-alpine
commands:
- export POETRY_HOME=/opt/poetry
- python3 -m venv $POETRY_HOME
- $POETRY_HOME/bin/pip install poetry==1.3.2
- $POETRY_HOME/bin/poetry install
- $POETRY_HOME/bin/poetry run pytest -s
- pip install -r requirements.txt
- name: run tests
image: python:3.10-alpine
commands:
- pytest -s