From b0dd7dfd1db2fdb92bb8f4349f817342ab71375d Mon Sep 17 00:00:00 2001 From: Oscar Jalnefjord Date: Thu, 19 Oct 2023 15:51:06 +0200 Subject: [PATCH] new fix for matlab install on mac --- .github/workflows/unit_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 6e6dcc4..4ecec60 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -36,7 +36,7 @@ jobs: run: echo "C:\Program Files\MATLAB\R2023a\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Prepend MATLAB to PATH on Linux if: runner.os == 'Linux' - run: echo "/usr/local/MATLAB/R2023a/bin" >> $GITHUB_PATH + run: echo "/usr/local/MATLAB/R2023a/bin/maci64" >> $GITHUB_PATH - name: Prepend MATLAB to PATH on macOS if: runner.os == 'macOS' run: echo "/Applications/MATLAB_R2023a.app/bin" >> $GITHUB_PATH @@ -48,4 +48,4 @@ jobs: - name: Test with pytest run: | pip install pytest pytest-cov - python -m pytest --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html \ No newline at end of file + python -m pytest --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html