Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gdat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
gdat
Commits
1b7aea43
Commit
1b7aea43
authored
2 years ago
by
Antoine Merle
Browse files
Options
Downloads
Patches
Plain Diff
Use new template for MATLAB tests
parent
7f3951de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!126
Use new template for MATLAB tests
Pipeline
#141577
passed
2 years ago
Stage: test
Stage: post-test
Changes
2
Pipelines
166
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-26
3 additions, 26 deletions
.gitlab-ci.yml
matlab/run_gdat_tests.m
+1
-1
1 addition, 1 deletion
matlab/run_gdat_tests.m
with
4 additions
and
27 deletions
.gitlab-ci.yml
+
3
−
26
View file @
1b7aea43
...
...
@@ -7,6 +7,7 @@ variables:
TBXFOLDER
:
matlab
MATFIRST
:
902
MATVER
:
906
TESTCASE
:
tcv
# no build for gdat, so don't define jobs for build phase
...
...
@@ -15,44 +16,23 @@ TCV-960:
extends
:
.test-template
variables
:
MATLABCMD
:
matlab960
TESTCASE
:
tcv
artifacts
:
paths
:
-
test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports
:
junit
:
test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura
:
test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
TCV_IMAS-960
:
extends
:
.test-template
variables
:
MATLABCMD
:
matlab960
TESTCASE
:
tcv_imas
artifacts
:
paths
:
-
test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports
:
junit
:
test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura
:
test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
TCV-920
:
extends
:
.test-template
extends
:
.test-template
:8.6-to-9.5
variables
:
MATLABCMD
:
matlab920
TESTCASE
:
tcv
artifacts
:
reports
:
junit
:
test_${TBXTARGET}_${TESTCASE}_2017a.xml
TCV_IMAS-920
:
extends
:
.test-template
extends
:
.test-template
:8.6-to-9.5
variables
:
MATLABCMD
:
matlab920
TESTCASE
:
tcv_imas
artifacts
:
reports
:
junit
:
test_${TBXTARGET}_${TESTCASE}_2017a.xml
# Post test report collection
code-coverage-960
:
...
...
@@ -73,7 +53,6 @@ test-staging-960_tcv:
extends
:
.test-staging-template
variables
:
MATLABCMD
:
matlab960
TESTCASE
:
tcv
test-staging-960_tcv_imas
:
extends
:
.test-staging-template
...
...
@@ -85,7 +64,6 @@ test-staging-920:
extends
:
.test-staging-template
variables
:
MATLABCMD
:
matlab920
TESTCASE
:
tcv
# pre-deployment
pre-deployment-checks
:
...
...
@@ -100,7 +78,6 @@ test-post-deploy-matlab-9.2.0_tcv:
extends
:
.test-post-deploy-template
variables
:
MATLABCMD
:
matlab920
TESTCASE
:
tcv
test-post-deploy-matlab-9.2.0_tcv_imas
:
extends
:
.test-post-deploy-template
...
...
This diff is collapsed.
Click to expand it.
matlab/run_gdat_tests.m
+
1
−
1
View file @
1b7aea43
...
...
@@ -88,7 +88,7 @@ if needXML || needCOV
end
if
needXML
% Add some JUnit XML file with tests results
xmlFile
=
fullfile
(
projectpath
,
sprintf
(
'%s_%s_%s.xml'
,
prefix
,
test_case
,
suffix
));
xmlFile
=
fullfile
(
projectpath
,
sprintf
(
'%s_%s_%s
_junit
.xml'
,
prefix
,
test_case
,
suffix
));
fprintf
(
'\tGenerating JUnit XML report at %s\n'
,
xmlFile
);
p
=
XMLPlugin
.
producingJUnitFormat
(
xmlFile
);
runner
.
addPlugin
(
p
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment