Skip to content

Commit 493d456

Browse files
authored
apacheGH-41507: [MATLAB][CI] Pass strict: true to matlab-actions/run-tests@v2 (apache#41530)
### Rationale for this change The MATLAB CI jobs should fail if any one of the unit tests issues a `warning`. Currently, the MATLAB CI jobs only fail if there is a verification failure. Passing the argument `strict: true` to `matlab-actions/run-tests@ v2` will ensure MATLAB jobs will fail if a test warning is issued. See the [`matlab-actions/run-tests@ v2` documentation](https://github.com/matlab-actions/run-tests/?tab=readme-ov-file#run-matlab-tests) for more details. ### What changes are included in this PR? 1. Pass `strict: true` argument to `matlab-actions/setup-matlab@ v2` ### Are these changes tested? N/A (relying on existing tests). ### Are there any user-facing changes? No. * GitHub Issue: apache#41507 Authored-by: Sarah Gilmore <[email protected]> Signed-off-by: Sarah Gilmore <[email protected]>
1 parent 2b06472 commit 493d456

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/matlab.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
uses: matlab-actions/run-tests@v2
9797
with:
9898
select-by-folder: matlab/test
99+
strict: true
99100
macos:
100101
name: AMD64 macOS 12 MATLAB
101102
runs-on: macos-12
@@ -135,7 +136,8 @@ jobs:
135136
MATLABPATH: matlab/install/arrow_matlab
136137
uses: matlab-actions/run-tests@v2
137138
with:
138-
select-by-folder: matlab/test
139+
select-by-folder: matlab/test
140+
strict: true
139141
windows:
140142
name: AMD64 Windows 2022 MATLAB
141143
runs-on: windows-2022
@@ -181,4 +183,5 @@ jobs:
181183
MATLABPATH: matlab/install/arrow_matlab
182184
uses: matlab-actions/run-tests@v2
183185
with:
184-
select-by-folder: matlab/test
186+
select-by-folder: matlab/test
187+
strict: true

0 commit comments

Comments
 (0)