Skip to content

Commit 99cca12

Browse files
Update run-matlab-command compression (#132)
* try changes * fix package-lock files * fix package dependency issues * don't replace if already unzipped * update v0 of run-tests and run-build * remove parallel tests * run v1 tests * update v0 tests * dep version * remove self-hosted agent pool because scale sets are buggy * add back in version conditions
1 parent e1efb92 commit 99cca12

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5312
-1702
lines changed

integ-test-promote-template.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,13 @@ jobs:
7272
microsoft_hosted_windows:
7373
poolName: Azure Pipelines
7474
vmImage: windows-latest
75-
self_hosted_windows:
76-
poolName: vmssagentpool
77-
vmImage: # blank for self-hosted
7875
pool:
7976
name: $(poolName)
8077
vmImage: $(vmImage)
8178
steps:
8279
- checkout: none
8380
- task: MathWorks.matlab-azure-devops-extension-dev.InstallMATLAB.InstallMATLAB@${{ version }}
8481
displayName: Install MATLAB on Microsoft-hosted agents
85-
condition: not(startsWith(variables['Agent.Name'], 'vmss'))
8682
- task: MathWorks.matlab-azure-devops-extension-dev.RunMATLABCommand.RunMATLABCommand@${{ version }}
8783
displayName: Run MATLAB statement
8884
inputs:
@@ -146,9 +142,6 @@ jobs:
146142
microsoft_hosted_linux:
147143
poolName: Azure Pipelines
148144
vmImage: ubuntu-22.04
149-
self_hosted_windows:
150-
poolName: vmssagentpool
151-
vmImage: # blank for self-hosted
152145
pool:
153146
name: $(poolName)
154147
vmImage: $(vmImage)
@@ -158,12 +151,12 @@ jobs:
158151
- checkout: none
159152
- task: MathWorks.matlab-azure-devops-extension-dev.InstallMATLAB.InstallMATLAB@${{ version }}
160153
displayName: Install MATLAB on Microsoft-hosted agents
161-
condition: and(eq(${{ version }}, '0'), not(startsWith(variables['Agent.Name'], 'vmss')))
154+
condition: eq(${{ version }}, '0')
162155
- task: MathWorks.matlab-azure-devops-extension-dev.InstallMATLAB.InstallMATLAB@${{ version }}
163156
inputs:
164157
products: Simulink Simulink_Test Simulink_Coverage Parallel_Computing_Toolbox
165158
displayName: Install MATLAB on Microsoft-hosted agents
166-
condition: and(eq(${{ version }}, '1'), not(startsWith(variables['Agent.Name'], 'vmss')))
159+
condition: eq(${{ version }}, '1')
167160
- bash: |
168161
echo 'myvar = 123' > startup.m
169162
mkdir src
@@ -239,18 +232,19 @@ jobs:
239232
grep -q "runner.addPlugin(FailOnWarningsPlugin())" console.log
240233
rm console.log
241234
displayName: Verify tests ran with strict checks
242-
- task: MathWorks.matlab-azure-devops-extension-dev.RunMATLABTests.RunMATLABTests@${{ version }}
243-
displayName: Run MATLAB tests in parallel
244-
inputs:
245-
useParallel: true
246-
sourceFolder: src
247-
condition: not(eq(${{ version }}, '0'))
248-
- bash: |
249-
set -e
250-
grep -q "Starting parallel pool (parpool)" console.log
251-
rm console.log
252-
displayName: Verify tests ran in parallel
253-
condition: not(eq(${{ version }}, '0'))
235+
# Disable parallel tests until PCT bug is fixed g3416906
236+
# - task: MathWorks.matlab-azure-devops-extension-dev.RunMATLABTests.RunMATLABTests@${{ version }}
237+
# displayName: Run MATLAB tests in parallel
238+
# inputs:
239+
# useParallel: true
240+
# sourceFolder: src
241+
# condition: not(eq(${{ version }}, '0'))
242+
# - bash: |
243+
# set -e
244+
# grep -q "Starting parallel pool (parpool)" console.log
245+
# rm console.log
246+
# displayName: Verify tests ran in parallel
247+
# condition: not(eq(${{ version }}, '0'))
254248
- task: MathWorks.matlab-azure-devops-extension-dev.RunMATLABTests.RunMATLABTests@${{ version }}
255249
displayName: Run MATLAB tests with detailed display level for event details
256250
inputs:

0 commit comments

Comments
 (0)