Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_matlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Commits
f518497b
Commit
f518497b
authored
3 years ago
by
Lemmer, Jan
Browse files
Options
Downloads
Patches
Plain Diff
Fix of the CI-Test
parent
ebc2f274
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!32
Dev/config
,
!30
Fix CI
Pipeline
#591899
failed
3 years ago
Stage: Run
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
+PlotID/Publish.m
+0
-15
0 additions, 15 deletions
+PlotID/Publish.m
CI_files/default_test.m
+11
-1
11 additions, 1 deletion
CI_files/default_test.m
with
11 additions
and
16 deletions
+PlotID/Publish.m
+
0
−
15
View file @
f518497b
...
...
@@ -187,21 +187,6 @@ dlgObj.userMSG(msg);
exportPath
=
fullfile
(
storPath
,
folderName
);
configObj
.
writeConfig
(
exportPath
);
% if ~dlgObj.configError
% % copy config file
% configPath = PlotID.createFileCopy('config.json',folderName,...
% storPath,ID, 'data');
% else
% %create config file
% configPath = fullfile(storPath,folderName,'config.json');
% config = options;
% end
% %write config
% fid = fopen(char(configPath),'w');
% txt = jsonencode(config,'PrettyPrint',true);
% fprintf(fid,txt);
% fclose(fid);
% add further Metadata
meta
=
struct
();
if
ispc
...
...
This diff is collapsed.
Click to expand it.
CI_files/default_test.m
+
11
−
1
View file @
f518497b
...
...
@@ -27,6 +27,13 @@ fid = fopen(fullfile('CI_files','log.txt'),'w');
txt
=
[
'default test started '
newline
];
fprintf
(
fid
,
txt
);
% create Config for CI-Tests
fid1
=
fopen
(
fullfile
(
'CI_files'
,
'CI_config.json'
),
'w'
);
configData
.
Author
=
'CI-Test'
;
configData
.
ProjectID
=
'CI-001'
;
txt
=
jsonencode
(
configData
,
'PrettyPrint'
,
true
);
%fprintf does not write paths correctly !!!
fwrite
(
fid1
,
txt
);
fclose
(
fid1
);
try
ProjectID
=
'Test01'
;
...
...
@@ -82,7 +89,9 @@ try
% file name of the data
rdata
=
{
dataset1
,
dataset2
}
;
% don't forget the extension
PlotID
.
Publish
(
rdata
,
script
,
figs
,
'Location'
,
'CI-Test'
)
PlotID
.
Publish
(
rdata
,
script
,
figs
,
'Location'
,
'CI-Test'
,
...
'ConfigFileName'
,
'CI_config.json'
);
msg
=
'simple_test succeed Stage 2'
;
catch
...
...
@@ -109,6 +118,7 @@ try
delete
([
'CI_files'
filesep
'*.mat'
]);
delete
([
'CI_files'
filesep
'*.h5'
]);
rmdir
([
'CI_files'
filesep
'export'
],
's'
);
delete
(
fullfile
(
'CI_files'
,
'CI_config.json'
));
end
end
...
...
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