Skip to content

Commit fc31bc6

Browse files
remove matlab install from workflow
1 parent e758974 commit fc31bc6

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/unit_test.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Unit tests
2+
23
on: [push, pull_request]
34

45
jobs:
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

0 commit comments

Comments
 (0)