Skip to content

Commit 371e28e

Browse files
authored
Update test.yml
1 parent 842e261 commit 371e28e

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -215,22 +215,12 @@ jobs:
215215
matrix:
216216
version: [R2021b, R2022a, R2022b, latest]
217217
steps:
218-
- uses: actions/checkout@v4
219-
with:
220-
path: x
218+
- *checkout
221219
- *download-macos-build-artifacts
222220
- *setup-MATLAB
223221
- *setup-node
224-
- name: Install dependencies
225-
run: npm ci
226-
working-directory: x --ignore-scripts
227-
- name: Run UI tests
228-
run: npm run test-ui
229-
working-directory: x
230-
env:
231-
MLM_WEB_LICENSE: true
232-
MLM_WEB_ID: ${{ secrets.MLM_WEB_ID }}
233-
MLM_WEB_USER_CRED: ${{ secrets.MLM_WEB_USER_CRED }}
222+
- *install-dependencies
223+
- *run-ui-tests
234224
- name: List screenshots for debugging
235225
if: always()
236226
run: ls -l x/.vscode-test/screenshots || echo "No screenshots found"
@@ -239,5 +229,5 @@ jobs:
239229
uses: actions/upload-artifact@v4
240230
with:
241231
name: screenshots-macos-${{ matrix.version }}
242-
path: x/.vscode-test/screenshots
232+
path: x/.vscode-test/s
243233
if-no-files-found: ignore

0 commit comments

Comments
 (0)