From 5633c348f494788082887696ee2e8665831fd001 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Sat, 17 Jun 2023 19:07:32 +0300 Subject: [PATCH] Update the CI/CD configuration. --- .drone.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6911bfa..203e788 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 +