-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
azure-pipelines.yml
85 lines (82 loc) · 2.95 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## Build CI test and Coverage Report for FSDA Toolbox in Azure Pipeline
#
# ____ ____ ____ ______ ______ ___ __
# /\ _`\ /\ _`\ /\ _`\ /\ _ \ /\__ _\ /\_ \ /\ \
# \ \ \L\_\ \,\L\_\ \ \/\ \ \ \L\ \ \/_/\ \/ ___ ___\//\ \ \ \ \____ ___ __ _
# \ \ _\/\/_\__ \\ \ \ \ \ \ __ \ \ \ \ / __`\ / __`\\ \ \ \ \ '__`\ / __`\/\ \/'\
# \ \ \/ /\ \L\ \ \ \_\ \ \ \/\ \ \ \ \/\ \L\ \/\ \L\ \\_\ \_\ \ \L\ \/\ \L\ \/> </
# \ \_\ \ `\____\ \____/\ \_\ \_\ \ \_\ \____/\ \____//\____\\ \_,__/\ \____//\_/\_\
# \/_/ \/_____/\/___/ \/_/\/_/ \/_/\/___/ \/___/ \/____/ \/___/ \/___/ \//\/_/
#
#
jobs:
- job: Test
strategy:
matrix:
regression:
categoryName: 'regression'
regressionTS:
categoryName: 'regressionTS'
regressionLTSts:
categoryName: 'regressionLTSts'
regressionEXT:
categoryName: 'regressionEXT'
graphics:
categoryName: 'graphics'
multivariate:
categoryName: 'multivariate'
multivariate-clustering:
categoryName: 'multivariate-clustering'
regression-clustering:
categoryName: 'regression-clustering'
mixsim:
categoryName: 'mixsim'
utilities:
categoryName: 'utilities'
tclustMULT:
categoryName: 'tclustMULT'
tclustMULTgpcm:
categoryName: 'tclustMULTgpcm'
FMvol:
categoryName: 'FMvol'
Probability-Distribution:
categoryName: 'Probability-Distribution'
pool:
vmImage: 'ubuntu-latest'
variables:
CATEGORY_TO_TEST: $(categoryName)
timeoutInMinutes: 365
steps:
- task: InstallMATLAB@1
inputs:
#release: R2023a
products:
MATLAB
Parallel_Computing_Toolbox
Statistics_and_Machine_Learning_Toolbox
Econometrics_Toolbox
Bioinformatics_Toolbox
Optimization_Toolbox
- task: RunMATLABCommand@0
inputs:
command: |
cd toolbox
run runAllMyTestsFS.m
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/test-*.xml'
- script: |
bash <(curl -s https://codecov.io/bash)
displayName: 'Upload to codecov.io'
- task: PublishPipelineArtifact@1
condition: always()
inputs:
path: $(System.DefaultWorkingDirectory)/toolbox/tests-$(categoryName)
artifact: Test-$(categoryName)
- task: PublishCodeCoverageResults@2
condition: succeededOrFailed()
inputs:
codeCoverageTool: 'Cobertura'
summaryFileLocation: '**/coverage-*.xml'