The test step should also install all dependencies via apk add.

This commit is contained in:
Fabio Manganiello 2023-09-30 13:36:28 +02:00
parent 4f5ccda353
commit acb40bd5fd
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

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