From 0a2bc5cca95fe057c32f1a8de6fc67aa9f307653 Mon Sep 17 00:00:00 2001 From: Xavi Date: Wed, 15 Jul 2020 21:00:47 +0200 Subject: [PATCH] ci(azure-pipelines): Install dependencies on the system and not on a python virtual environment --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9736ee0e..138a7e64 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,7 +38,9 @@ steps: archiveFile: '$(Build.ArtifactStagingDirectory)/controllerx.zip' - script: pip install pipenv displayName: 'Install pipenv' -- script: pipenv install --dev --system +- script: pipenv lock --dev + displayName: 'Lock dependencies' +- script: pipenv install --system --deploy --dev displayName: 'Install dependencies' - script: black apps/controllerx tests --check displayName: Formatter (black)