33 workflow_dispatch :
44 workflow_call :
55 push :
6- paths :
6+ paths :
77 - tests/**
88 - spm/**
9- - setup.py
9+ - setup.py
1010 - pyproject.toml
1111 pull_request :
12-
12+
1313env :
1414 MLM_LICENSE_TOKEN : ${{ secrets.MATLAB_BATCH_TOKEN }}
15-
15+
1616jobs :
1717 run-unit-tests :
1818 runs-on : ${{ matrix.os }}
1919 strategy :
2020 fail-fast : False
2121 matrix :
22- matlab : ["latest "]
22+ matlab : ["2025a "]
2323 os : [ubuntu-latest, macos-13, macos-latest, windows-latest]
2424 python-version : ["3.9", "3.10", "3.11", "3.12"]
2525 include :
@@ -41,14 +41,14 @@ jobs:
4141 uses : actions/setup-python@v5
4242 with :
4343 python-version : ${{ matrix.python-version }}
44-
44+
4545 - name : Check out SPM Python
4646 uses : actions/checkout@v4
4747
4848 - name : Install SPM Python
4949 run : python -m pip install -e .
50-
51- # Setup MATLAB and Runtime
50+
51+ # Setup MATLAB and Runtime
5252 - name : Set up MATLAB
5353 uses : matlab-actions/setup-matlab@v2
5454 with :
7373 # sometimes this step hangs when closing matlab, automatically terminating after 2 minutes solves the issue
7474 timeout-minutes : 2
7575 continue-on-error : true
76-
76+
7777 - name : Set environment variable with MATLAB path
7878 shell : bash # Works on Windows as well because of shell: bash
7979 run : |
9090 ${{ env.MATLAB_PATH }}/extern/bin/maca64"
9191 export PYTHONHOME=${{ env.pythonLocation }}
9292 mwpython -m unittest discover tests -v
93-
93+
9494 - name : Run tests (Mac Intel)
9595 if : matrix.os_name == 'macOS_Intel'
9696 run : |
@@ -101,7 +101,7 @@ jobs:
101101 ${{ env.MATLAB_PATH }}/extern/bin/maci64"
102102 export PYTHONHOME=${{ env.pythonLocation }}
103103 mwpython -m unittest discover tests -v
104-
104+
105105 - name : Run tests (Windows)
106106 if : matrix.os_name == 'Windows'
107107 shell : bash
0 commit comments