Skip to content

Commit 9406bd3

Browse files
committed
ci: Use pip install editable mode
Due to the usage of ` use_scm_version = { "root": "../..", "relative_to": __file__ }, in `setup.py`, `pip install .` fails in CI. Switch to using editable mode of `pip install` to avoid the this error.
1 parent e582e5c commit 9406bd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ stages:
154154
- script: "pip install ."
155155
displayName: "Ensure mbed-os-tools can be installed locally for development"
156156

157-
- script: "pip install ."
157+
- script: "pip install -e ."
158158
displayName: "Ensure mbed-ls can be installed locally for development"
159159
workingDirectory: "packages/mbed-ls"
160160

161-
- script: "pip install ."
161+
- script: "pip install -e ."
162162
displayName: "Ensure mbed-host-tests can be installed locally for development"
163163
workingDirectory: "packages/mbed-host-tests"
164164

165-
- script: "pip install ."
165+
- script: "pip install -e ."
166166
displayName: "Ensure mbed-greentea can be installed locally for development"
167167
workingDirectory: "packages/mbed-greentea"
168168

0 commit comments

Comments
 (0)