@@ -78,27 +78,33 @@ jobs:
78
78
-
79
79
script : ' pip install . && pip install -r test_requirements.txt'
80
80
displayName : ' Install mbed-ls'
81
- workingDirectory : ' legacy /mbed-ls'
81
+ workingDirectory : ' packages /mbed-ls'
82
82
-
83
83
script : ' pip install . && pip install -r test_requirements.txt'
84
84
displayName : ' Install mbed-host-tests'
85
- workingDirectory : ' legacy /mbed-host-tests'
85
+ workingDirectory : ' packages /mbed-host-tests'
86
86
-
87
87
script : ' pip install . && pip install -r test_requirements.txt'
88
88
displayName : ' Install mbed-greentea'
89
- workingDirectory : ' legacy /mbed-greentea'
89
+ workingDirectory : ' packages /mbed-greentea'
90
90
-
91
91
script : " python -m coverage run setup.py test"
92
92
displayName : " Test mbed-ls"
93
- workingDirectory : ' legacy /mbed-ls'
93
+ workingDirectory : ' packages /mbed-ls'
94
94
-
95
95
script : " python -m coverage run setup.py test"
96
96
displayName : " Test mbed-host-tests"
97
- workingDirectory : ' legacy /mbed-host-tests'
97
+ workingDirectory : ' packages /mbed-host-tests'
98
98
-
99
99
script : " python -m coverage run setup.py test"
100
100
displayName : " Test mbed-greentea"
101
- workingDirectory : ' legacy/mbed-greentea'
101
+ workingDirectory : ' packages/mbed-greentea'
102
+ -
103
+ script : |
104
+ python -m coverage combine .coverage packages/*/.coverage
105
+ python -m coveralls
106
+ condition : eq(variables['extraActions'], 'true')
107
+ displayName : ' Send coverage results to coveralls'
102
108
-
103
109
job : Build
104
110
dependsOn : Test
0 commit comments