Skip to content

Commit 7d00b0d

Browse files
committed
Fix paths in build.yml for Octave test scripts
Updated the paths in the Octave CLI commands within the build.yml file to ensure that the test scripts `test_basic_operation.m` and `test_write.m` are correctly executed from the `tests/octave` directory. This change addresses the directory navigation and path issues, ensuring proper test execution.
1 parent 2794528 commit 7d00b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ jobs:
115115
run: |
116116
cd tests/octave
117117
set GITHUB_WORKSPACE_FORWARD_SLASHES=%GITHUB_WORKSPACE:\=/%
118-
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE_FORWARD_SLASHES%/OctaveMex,addpath('../../OctaveMex'),test('test_basic_operation.m')"
119-
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE_FORWARD_SLASHES%/OctaveMex,addpath('../../OctaveMex'),test('test_write.m')"
118+
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE_FORWARD_SLASHES%/tests/octave,addpath('../../OctaveMex'),test('test_basic_operation.m')"
119+
"%OCTAVECLI_LINK%" --eval "cd %GITHUB_WORKSPACE_FORWARD_SLASHES%/tests/octave,addpath('../../OctaveMex'),test('test_write.m')"
120120
- name: Prepare MATLAB-mex artifact (Windows)
121121
id: prepare_windows_matlab_artifact
122122
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)