Skip to content

Commit 6334cb0

Browse files
committed
Remove extra sdist build, also ensure can be installed locally for development
1 parent 0869621 commit 6334cb0

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

azure-pipelines.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,21 @@ jobs:
108108
python -m coveralls
109109
condition: eq(variables['extraActions'], 'true')
110110
displayName: "Send coverage results to coveralls"
111-
-
112-
job: Build
113-
dependsOn: Test
114-
pool:
115-
vmImage: Ubuntu-16.04
116-
steps:
117111
-
118-
task: UsePythonVersion@0
119-
inputs:
120-
versionSpec: 3.x
121-
architecture: x64
112+
script: "pip uninstall -y mbed-os-tools mbed-ls mbed-greentea mbed-host-tests"
113+
displayName: "Uninstall sdist packages"
122114
-
123-
script: "python setup.py sdist"
124-
displayName: "Build sdist"
115+
script: "pip install ."
116+
displayName: "Ensure mbed-os-tools can be installed locally for development"
117+
-
118+
script: "pip install ."
119+
displayName: "Ensure mbed-ls can be installed locally for development"
120+
workingDirectory: "packages/mbed-ls"
121+
-
122+
script: "pip install ."
123+
displayName: "Ensure mbed-host-tests can be installed locally for development"
124+
workingDirectory: "packages/mbed-host-tests"
125+
-
126+
script: "pip install ."
127+
displayName: "Ensure mbed-greentea can be installed locally for development"
128+
workingDirectory: "packages/mbed-greentea"

0 commit comments

Comments
 (0)