From 8b13f6d0a3c24ec6b5388b711ed028894afdd58c Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Tue, 5 Feb 2019 23:39:32 +0100 Subject: Use poetry for dependency managemnet. --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1cb4846e..4031da8c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -47,7 +47,7 @@ jobs: architecture: x64 - script: > - python -m pip install $(sed -n -e "/'lint': \[/,/]/p" setup.py | tail -n +2 | head -n -1 | cut -d"'" -f2) + python -m pip install $(grep -E '^(coverage|flake8|mccabe|pep8-naming)' pyproject.toml | cut -d' ' -f1) displayName: install lint requirements - script: flake8 @@ -96,7 +96,7 @@ jobs: USER_CREATE_COMMAND: CREATE USER pysite WITH PASSWORD 'pysite' CREATEDB displayName: set up the database - - script: python -m pip install -e .[test] unittest-xml-reporting + - script: python -m pip install poetry && python -m poetry install --extras "test ci" displayName: install requirements - script: | -- cgit v1.2.3