MichaelBeechan / maast

MATLAB Algorithm Availability Simulation Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAAST

Matlab Continuous Integration

This build checker does the following.

  1. Executes Matlab's checkcode function on all repository files and asserts no suggestions.
  2. Finds all Matlab tests in the repository, executes Matlab's runtests, then reports the results.
  3. If their is a pull request associated with the push, a unit test coverage report is attached to the report.

This build checker will also perform standard checks on repository Matlab code using Python with MISS_HIT. Source can be found here. Documentation can be found here.

To run the all the checks locally, one must execute the following from bash at the repository root directory (note the --fix will automatically fix style issues)

mh_style --process-slx --fix
mh_metric --ci
mh_lint

and the following from Matlab at the repository root directory (with all the appropriate Matlab path setup).

addpath('.github/workflows');
matlab_checkcode_on_directory('.');
matlab_runtests_on_directory('.');

About

MATLAB Algorithm Availability Simulation Tool


Languages

Language:MATLAB 100.0%