Skip to content

Commit d721fc6

Browse files
committed
ci: checkout after matlab install
1 parent 5e98bdf commit d721fc6

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,27 @@ jobs:
2424
release: R2022b
2525

2626
steps:
27-
- uses: actions/checkout@v3
28-
29-
- name: Install MATLAB
30-
uses: matlab-actions/setup-matlab@v1
31-
with:
32-
release: ${{ matrix.release }}
33-
34-
- name: Run tests (buildtool)
35-
if: ${{ matrix.release == 'R2022b' }}
36-
timeout-minutes: 10
37-
uses: matlab-actions/run-command@v1
38-
with:
39-
command: buildtool
40-
41-
- name: Run tests (manual)
42-
if: ${{ matrix.release != 'R2022b' }}
43-
timeout-minutes: 10
44-
uses: matlab-actions/run-command@v1
45-
with:
46-
command: |
47-
r = runtests('stdlib.test', 'strict', true, 'UseParallel', true);
48-
assert(~isempty(r), "No tests were run")
49-
assertSuccess(r)
27+
28+
- name: Install MATLAB
29+
uses: matlab-actions/setup-matlab@v1
30+
with:
31+
release: ${{ matrix.release }}
32+
33+
- uses: actions/checkout@v3
34+
35+
- name: Run Matlab tests (buildtool)
36+
if: ${{ matrix.release == 'R2022b' }}
37+
timeout-minutes: 10
38+
uses: matlab-actions/run-command@v1
39+
with:
40+
command: buildtool
41+
42+
- name: Run tests (manual)
43+
if: ${{ matrix.release != 'R2022b' }}
44+
timeout-minutes: 10
45+
uses: matlab-actions/run-command@v1
46+
with:
47+
command: |
48+
r = runtests('stdlib.test', 'strict', true, 'UseParallel', true);
49+
assert(~isempty(r), "No tests were run")
50+
assertSuccess(r)

0 commit comments

Comments
 (0)