## Matlab with GitHub Actions CI

Matlab CI services include GitHub Actions. Matlab GitHub Actions CI is useful to automatically unit test Matlab code on each “git push” as with other coding languages. As with other GitHub Actions workflows, use a file like “.github/workflows/ci_matlab.yml” file in the Git repo to control CI behavior. A top-level file named like “TestAll.m” is also needed to control the CI run.

This Matlab .github/workflows/ci_matlab.yml will test a Matlab project on GitHub Actions CI at no cost. The top level TestAll.m is also necessary to discover and run the tests.

We have several projects using GitHub Actions with Matlab in this manner.