diff options
| author | 2020-03-09 17:36:55 -0700 | |
|---|---|---|
| committer | 2020-03-09 18:17:16 -0700 | |
| commit | e9d58e4e021d840a569c382a5494faa52e2ef260 (patch) | |
| tree | 6730c0c2d2159e39686c66fbf1d3e2adb4d6ea24 | |
| parent | CI: cache the Python user base dir (diff) | |
CI: prepend py user base to PATH
| -rw-r--r-- | azure-pipelines.yml | 3 |
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 |