From 8a28730954147c479377ce1f22db0c534e81a062 Mon Sep 17 00:00:00 2001 From: ldericher <40151420+ldericher@users.noreply.github.com> Date: Thu, 14 Oct 2021 19:51:52 +0200 Subject: [PATCH] install-poetry script --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index a0177de..d0bae99 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,9 +6,10 @@ steps: - name: pytest image: python:3.6-alpine3.13 commands: - - wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - - - source $HOME/.poetry/env && poetry install - - source $HOME/.poetry/env && poetry run pytest + - apk add --no-cache g++ libffi-dev + - wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 - + - /root/.local/bin/poetry install + - /root/.local/bin/poetry run pytest - name: docker image: plugins/docker