From acb40bd5fd4d8c7cda878336daff85d7c03e7765 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 30 Sep 2023 13:36:28 +0200 Subject: [PATCH] The `test` step should also install all dependencies via apk add. --- .drone.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index fd8a8f1265..f625cf40e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -76,14 +76,11 @@ steps: ### - name: tests - image: python:3.11-alpine + image: alpine commands: - - apk add --update --no-cache redis - - apk add --update --no-cache --virtual build-base g++ rust linux-headers - - pip install -U pip + - apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt) - pip install . - pip install -r requirements-tests.txt - - apk del build-base g++ rust linux-headers - pytest tests ###