Skip to content

Commit c9df1ef

Browse files
committed
Use run-build action and pass test task with no arguments.
1 parent f9c97df commit c9df1ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
# Used to differentiate multiple results for one commit
5959
category: matlab
6060

61-
build-and-test:
61+
test:
6262
strategy:
6363
fail-fast: false # Run with every MATLAB version independently
6464
matrix:
@@ -97,11 +97,11 @@ jobs:
9797
if: runner.os == 'Windows'
9898
run: echo "$env:ProgramFiles\MATLAB\${{ matrix.matlabVer }}\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
9999

100-
- name: Run MATLAB command
101-
uses: matlab-actions/run-command@v2
100+
- name: Run MATLAB build
101+
uses: matlab-actions/run-build@v2
102102
timeout-minutes: 15
103103
with:
104-
command: openProject(pwd); buildtool test({'noHW','bdConnected'});
104+
tasks: test
105105

106106
- name: Upload Test Results
107107
if: always()

0 commit comments

Comments
 (0)