diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c65aea7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Run Tests + +on: [push] + +jobs: + build: + name: Run Tests + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + matlab-version: ['R2021b', 'R2023a', 'R2023b', 'R2024a'] + + steps: + - name: Check out repository + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Set up MATLAB + uses: matlab-actions/setup-matlab@v2 + with: + release: ${{ matrix.matlab-version }} + products: DSP_System_Toolbox + + - name: Test Designer + uses: matlab-actions/run-command@v2 + with: + command: addpath(genpath('.'));cd('test');runTests;exit()