File tree Expand file tree Collapse file tree 4 files changed +9
-54
lines changed Expand file tree Collapse file tree 4 files changed +9
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
18
18
os : [ubuntu-latest, windows-latest, macos-latest]
19
19
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v3
22
22
23
23
- name : Install MATLAB
24
24
uses : matlab-actions/setup-matlab@v1
25
25
26
- - name : Run tests and generate artifacts
26
+ - name : Run tests
27
27
timeout-minutes : 10
28
28
uses : matlab-actions/run-command@v1
29
29
with :
30
- command : r = runtests('stdlib.test'), assert(~isempty(r)), assertSuccess(r)
30
+ command : buildtool
Original file line number Diff line number Diff line change 1
1
function plan = buildfile
2
2
plan = buildplan(localfunctions );
3
+ plan.DefaultTasks = " test" ;
4
+ plan(" test" ).Dependencies = " check" ;
3
5
end
4
6
5
- function lintTask(~)
6
- assertSuccess(runtests(' stdlib.test.TestLint' ))
7
+ function checkTask(~)
8
+ % Identify code issues (recursively all Matlab .m files)
9
+ issues = codeIssues ;
10
+ assert(isempty(issues .Issues ),formattedDisplayText(issues .Issues ))
7
11
end
8
12
9
13
function testTask(~)
You can’t perform that action at this time.
0 commit comments