From b7343e73abfa57f6bf199d625d37e3c08d938a4c Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 9 Jul 2021 22:22:53 -0300 Subject: [PATCH] ci: use tox --- .gitlab-ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 44bfdf8..5ab210b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,14 +14,10 @@ cache: tests: before_script: - python -V - - apk --update add --no-cache build-base gcc libgcc libffi-dev openssl-dev git postgresql-client jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev freetype-dev gifsicle - - pip3 install pipenv wheel tox - - pipenv install --dev + - time apk --update add --no-cache build-base gcc libgcc libffi-dev openssl-dev git postgresql-client jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev freetype-dev gifsicle + - time pip3 install poetry wheel tox + - time poetry install script: - ls - cp config.ci.py config.py - - pipenv --venv - - pipenv run ./manage.py migrate - - pipenv run black --check litecord run.py tests manage - - pipenv run flake8 litecord run.py tests manage - - pipenv run pytest tests + - time tox