Matlab with Azure CI

Matlab CI services include Azure Pipelines. Matlab Azure Pipelines CI is useful to automatically unit test Matlab code on each “git push” as with other coding languages. We use an “azure-pipelines.yml” file in the Git repo to control CI behavior. A top-level file named like “TestAll.m” is also needed to control CI run. GitHub Actions Matlab CI is often easier to use than Azure in general and runs atop Azure.

This Matlab azure-pipelines.yml will test a Matlab project on Azure Pipelines CI at no cost. The top level TestAll.m is also necessary to discover and run the tests.

We have several projects using Azure Pipelines with Matlab. It’s often useful to start from a known-working example, which we have for HDF5, coordinate conversion, Fortran namelist and Gemini3D model interface.