Skip to content

Commit c9c1318

Browse files
committed
Maintenance cycle R2024b
1 parent 6f9986f commit c9c1318

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Images/TestedWith.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"schemaVersion":1,"label":"Tested with","color":"failure","message":"Pipeline fails"}
1+
{"schemaVersion":1,"label":"Tested with","color":"critical","message":"Pipeline fails"}
17 Bytes
Binary file not shown.

SoftwareTests/PostSmokeTest.m

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ function PostSmokeTest(ShowReport)
3131

3232
% Format the results in a table and save them
3333
Results = table(Results');
34-
Results = Results(Results.Passed,:);
3534
Version = extractBetween(string(Results.Name),"Version=",")");
35+
Passed = Results.Passed;
3636

3737
% Add link to other report
3838
File = fileread(fullfile("public","index.html"));
@@ -46,11 +46,14 @@ function PostSmokeTest(ShowReport)
4646
Badge = struct;
4747
Badge.schemaVersion = 1;
4848
Badge.label = "Tested with";
49-
if size(Results,1) >= 1
50-
Badge.color = "success"
49+
if all(passed)
50+
Badge.color = "success";
5151
Badge.message = join("R"+Version," | ");
52+
elseif any(Passed)
53+
Badge.color = "yellowgreen";
54+
Badge.message = join("R")
5255
else
53-
Badge.color = "failure";
56+
Badge.color = "critical";
5457
Badge.message = "Pipeline fails";
5558
end
5659
Badge = jsonencode(Badge);

0 commit comments

Comments
 (0)