11jobs :
2- - job : ParallelWindows
3- # Parallel strategy to run tests in parallel
4- strategy :
5- parallel : 2
6- pool :
7- vmImage : windows-latest
8- steps :
9- # Install MATLAB and required products
10- - task : InstallMATLAB@1
11- inputs :
12- release : R2025a
13- products : MATLAB_Test Simulink_Test
14-
15- - powershell : .\AzureDevOps\DistributeTests.ps1
16- displayName : ' PowerShell Script to distribute tests'
17-
18- - task : RunMATLABTests@1
19- inputs :
20- selectByName : $(MATLABTestFiles)
21- sourceFolder : src
22- env :
23- MLM_LICENSE_TOKEN : $(MLM_LICENSE_TOKEN)
24-
25- # - job: ParallelLinux
2+ # - job: ParallelWindows
263 # # Parallel strategy to run tests in parallel
274 # strategy:
285 # parallel: 2
296 # pool:
30- # vmImage: ubuntu -latest
7+ # vmImage: windows -latest
318 # steps:
329 # # Install MATLAB and required products
3310 # - task: InstallMATLAB@1
3411 # inputs:
3512 # release: R2025a
3613 # products: MATLAB_Test Simulink_Test
3714
38- # - bash: chmod +x ./ AzureDevOps/ DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
39- # displayName: 'Bash Script to distribute tests'
15+ # - powershell: .\ AzureDevOps\ DistributeTests.ps1
16+ # displayName: 'PowerShell Script to distribute tests'
4017
4118 # - task: RunMATLABTests@1
4219 # inputs:
4320 # selectByName: $(MATLABTestFiles)
4421 # sourceFolder: src
4522 # env:
46- # MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
23+ # MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
4724
48- # - job: ParallelMac
49- # # Parallel strategy to run tests in parallel
50- # strategy:
51- # parallel: 2
52- # pool:
53- # vmImage: macOS -latest
54- # steps:
55- # # Install MATLAB and required products
56- # - task: InstallMATLAB@1
57- # inputs:
58- # release: R2025a
59- # products: MATLAB_Test Simulink_Test
25+ - job : ParallelLinux
26+ # Parallel strategy to run tests in parallel
27+ strategy :
28+ parallel : 2
29+ pool :
30+ vmImage : ubuntu -latest
31+ steps :
32+ # Install MATLAB and required products
33+ - task : InstallMATLAB@1
34+ inputs :
35+ release : R2025a
36+ products : MATLAB_Test Simulink_Test
6037
61- # - bash: chmod +x ./AzureDevOps/DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
62- # displayName: 'Bash Script to distribute tests'
38+ - bash : chmod +x ./AzureDevOps/DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
39+ displayName : ' Bash Script to distribute tests'
6340
64- # - task: RunMATLABTests@1
65- # inputs:
66- # selectByName: $(MATLABTestFiles)
67- # sourceFolder: src
68- # env:
69- # MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
41+ - task : RunMATLABTests@1
42+ inputs :
43+ selectByName : $(MATLABTestFiles)
44+ sourceFolder : src
45+ env :
46+ MLM_LICENSE_TOKEN : $(MLM_LICENSE_TOKEN)
47+
48+ - job : ParallelMac
49+ # Parallel strategy to run tests in parallel
50+ strategy :
51+ parallel : 2
52+ pool :
53+ vmImage : macOS-latest
54+ steps :
55+ # Install MATLAB and required products
56+ - task : InstallMATLAB@1
57+ inputs :
58+ release : R2025a
59+ products : MATLAB_Test Simulink_Test
60+
61+ - bash : chmod +x ./AzureDevOps/DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
62+ displayName : ' Bash Script to distribute tests'
63+
64+ - task : RunMATLABTests@1
65+ inputs :
66+ selectByName : $(MATLABTestFiles)
67+ sourceFolder : src
68+ env :
69+ MLM_LICENSE_TOKEN : $(MLM_LICENSE_TOKEN)
0 commit comments