-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathazure-pipelines.yml
34 lines (33 loc) · 923 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#strategy:
# matrix:
# linux:
# imageName: 'ubuntu-16.04'
# mac:
# imageName: 'macOS-10.15'
# windows:
# imageName: 'vs2017-win2016'
pool:
name: Default
#vmImage: $(imageName)
steps:
- powershell: Write-Host '##vso[task.prependpath]C:\Program Files\MATLAB\R2020b\bin'
#- task: InstallMATLAB@0
- task: RunMATLABTests@0
inputs:
testResultsJUnit: 'test-results/results.xml'
codeCoverageCobertura: 'code-coverage/coverage.xml'
sourceFolder: src/folderA;src/folderB;src/model
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFiles: 'test-results/results.xml'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: 'code-coverage/coverage.xml'
- task: RunMATLABCommand@0
inputs:
command: ver
- task: RunMATLABCommand@0
inputs:
command: userpath