From 41a2af5293999b19844c9cf0efb65a67c227ae41 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Mon, 19 Aug 2024 20:24:40 -0600 Subject: [PATCH] Add GHA tests --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..338b8b2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Run Tests + +on: [push] + +jobs: + build: + name: Run Tests + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Set up MATLAB + uses: matlab-actions/setup-matlab@v1 + with: + release: R2023b + - name: Compile Toolbox + uses: matlab-actions/run-command@v1 + with: + command: addpath(genpath('.'));runTests;exit() \ No newline at end of file