We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5a2192 commit 4b3fbd2Copy full SHA for 4b3fbd2
.Pipelines/template-run-tests.yml
@@ -19,10 +19,12 @@ steps:
19
versionSpec: '$(python.version)'
20
displayName: 'Set up Python'
21
22
-- script: |
+- bash: |
23
python -m pip install --upgrade pip
24
grep -v '^-e' requirements.txt | pip install -r /dev/stdin
25
- pip install -e . --no-deps --no-build-isolation
+ # Add the repo root to PYTHONPATH so 'import msal' resolves to this checkout
26
+ # without needing an editable install (avoids setuptools build environment issues).
27
+ echo "##vso[task.setvariable variable=PYTHONPATH]$(Build.SourcesDirectory):$PYTHONPATH"
28
displayName: 'Install dependencies'
29
30
# Use bash: (not script:) so set -o pipefail works — script: uses /bin/sh on Linux
0 commit comments