Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/wt-ci.yml → .github/workflows/git-ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: Widgets Toolbox Continuous Integration

# Controls when the workflow will run.
on:
# Triggers the workflow on push or pull request events, but only for the master branch.
push:
branches: [master]
pull_request:
branches: [master]

on: [push, workflow_dispatch]
# Triggers the workflow on push or pull request events
# This allows the workflow run to be run manually from the Actions tab in GitHub.
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel.
jobs:
Expand All @@ -20,7 +14,7 @@ jobs:
# Set up the job strategy matrix to define the different job configurations.
matrix:
# List of platforms on which to run the tests.
platform: [ubuntu-latest, windows-latest]
platform: [windows-latest]

# List of MATLAB releases over which to run the tests.
matlab-version: [R2023b, R2024a, R2024b]
Expand Down
2 changes: 1 addition & 1 deletion deploy/wtDeployVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.4.0
32 changes: 14 additions & 18 deletions deploy/wtPackageRelease.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
% Copyright 2025 The MathWorks, Inc.


%% Increment Version Number?

% Increment the last part of the version number in wtDeployVersion.txt for
% the next release
% wt.deploy.incrementVersionNumber();


%% Get paths

% Project root
proj = currentProject;
projectRoot = proj.RootFolder;

% docInputPath = fullfile(projectRoot,"doc_input","mlx");
% docOutputPath = fullfile(projectRoot,"widgets","doc");

% docInputPath = fullfile(projectRoot,"widgets","doc","mlx");
% docOutputPath = fullfile(projectRoot,"widgets","doc","html");

docInputPath = fullfile(projectRoot,"widgets","doc");
docOutputPath = fullfile(projectRoot,"widgets","doc");

Expand All @@ -26,13 +27,13 @@


%% Run unit tests
% [testSuite, testResult] = runTestSuite;
% if ~all([testResult.Passed])
% error("Unit tests failed. Aborting package release.");
% end
[testSuite, testResult] = runTestSuite;
if ~all([testResult.Passed])
error("Unit tests failed. Aborting package release.");
end


%% Publish doc_input as html
%% Publish doc and examples mlx as html

% Find the doc input ".mlx" files
docInputInfo = what(docInputPath);
Expand Down Expand Up @@ -61,6 +62,8 @@


%% Build search database
% Create v3 for/from R2021a - R2021b
% Create v4 for/from R2022a and later
builddocsearchdb(docOutputPath)


Expand All @@ -81,10 +84,3 @@

releaseFolder = fullfile(projectRoot,"release");
winopen(releaseFolder);


%% Increment Version Number

% Increment the last part of the version number in wtDeployVersion.txt for
% the next release
% wt.deploy.incrementVersionNumber();
Binary file added release/Widgets Toolbox 2.4.0.mltbx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="helpsearch-v3" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="segments_1" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="segments.gen" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="_0.si" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="_0.cfe" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="_0.cfs" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="1" type="DIR_SIGNIFIER"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="Widgets Toolbox 2.4.0.mltbx" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="1" type="DIR_SIGNIFIER"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="workflows" type="File"/>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="1" type="DIR_SIGNIFIER"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="git-ci.yml" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location=".github" type="File"/>
2 changes: 2 additions & 0 deletions test/+wt/+test/ProjectIntegrityChecks.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
classdef ProjectIntegrityChecks < matlab.unittest.TestCase
% Implements a unit test that runs the Project Integrity Checks

% Copyright 2025 The MathWorks Inc.


methods(Test)
function runProjectChecks(testCase)
Expand Down
3 changes: 3 additions & 0 deletions test/+wt/+test/RowEntriesTable.m
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ function testEdits(testCase)
% Verify the data match
testCase.verifyDataProperty(initData);

% Ensure rendering is finished
drawnow

% Type new values
testCase.type(reTable,[6 1],"Pineapple")
testCase.type(reTable,[6 2],"1234")
Expand Down
Loading