aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-03-09 17:36:55 -0700
committerGravatar MarkKoz <[email protected]>2020-03-09 18:17:16 -0700
commite9d58e4e021d840a569c382a5494faa52e2ef260 (patch)
tree6730c0c2d2159e39686c66fbf1d3e2adb4d6ea24
parentCI: cache the Python user base dir (diff)
CI: prepend py user base to PATH
-rw-r--r--azure-pipelines.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 45c6699b5..079530cc8 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -50,6 +50,9 @@ jobs:
displayName: 'Install project using pipenv'
condition: and(succeeded(), ne(variables.PY_ENV_RESTORED, 'true'))
+ - script: echo '##vso[task.prependpath]$(PYTHONUSERBASE)/bin'
+ displayName: 'Prepend PATH'
+
# Create an executable shell script which replaces the original pipenv binary.
# The shell script ignores the first argument and executes the rest of the args as a command.
# It makes the `pipenv run flake8` command in the pre-commit hook work by circumventing