File tree Expand file tree Collapse file tree 1 file changed +4
-21
lines changed
Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change 11name : Unit tests
2+
23on : [push, pull_request]
34
45jobs :
56 build :
7+
68 runs-on : ${{ matrix.os }}
79 continue-on-error : false
810 strategy :
@@ -13,40 +15,21 @@ jobs:
1315 exclude :
1416 - os : windows-latest
1517 python-version : " 3.13"
16-
18+ # Windows chokes on py3.13: https://github.com/numpy/numpy/issues/27894
1719 steps :
1820 - uses : actions/checkout@v4
19-
2021 - name : Set up Python
2122 uses : actions/setup-python@v5
2223 with :
2324 python-version : ${{ matrix.python-version }}
2425 cache : ' pip'
25-
26+ # You can test your matrix by printing the current Python version
2627 - name : Display Python version
2728 run : python -c "import sys; print(sys.version)"
28-
2929 - name : Install dependencies
3030 run : |
3131 python -m pip install --upgrade pip
3232 pip install -r requirements.txt
33-
34- - name : Set env var for MATLAB on macOS
35- if : runner.os == 'macOS'
36- run : echo "DYLD_LIBRARY_PATH=/Users/runner/hostedtoolcache/MATLAB/2025.1.999/arm64/MATLAB.app/bin/maca64:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
37-
38- - name : Set env var for MATLAB on Linux
39- if : runner.os == 'Linux'
40- run : echo "LD_LIBRARY_PATH=/opt/hostedtoolcache/MATLAB/2025.1.999/x64/bin/glnxa64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
41-
42- - name : Set up MATLAB
43- uses : matlab-actions/setup-matlab@v2
44- with :
45- release : R2025a
46-
47- - name : Install MATLAB Engine for Python
48- run : python -m pip install matlabengine==25.1.2
49-
5033 - name : Test with pytest
5134 run : |
5235 pip install pytest pytest-cov
You can’t perform that action at this time.
0 commit comments