Skip to content

Commit 4e2fd54

Browse files
Update unit_test.yml
1 parent aa3c5b0 commit 4e2fd54

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/unit_test.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
pip install -r requirements.txt
31-
- name: Set environment variables for MATLAB Engine
32-
if: ${{ runner.os == 'macOS'}}
33-
run: |
34-
echo "DYLD_LIBRARY_PATH=/Users/runner/hostedtoolcache/MATLAB/2025.1.999/arm64/MATLAB.app/bin/maca64:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
35-
if: ${{ runner.os == 'Linux'}}
36-
run: |
37-
echo "LD_LIBRARY_PATH=/opt/hostedtoolcache/MATLAB/2025.1.999/x64/bin/glnxa64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
31+
- name: Set env var for MATLAB on macOS
32+
if: runner.os == 'macOS'
33+
run: echo "DYLD_LIBRARY_PATH=/Users/runner/hostedtoolcache/MATLAB/2025.1.999/arm64/MATLAB.app/bin/maca64:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
34+
- name: Set env var for MATLAB on Linux
35+
if: runner.os == 'Linux'
36+
run: echo "LD_LIBRARY_PATH=/opt/hostedtoolcache/MATLAB/2025.1.999/x64/bin/glnxa64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
3837
- name: Set up MATLAB
3938
uses: matlab-actions/setup-matlab@v2
4039
with:

0 commit comments

Comments
 (0)