Skip to content

Commit 61b6068

Browse files
committed
add test results summary generation step
1 parent 19870a7 commit 61b6068

File tree

3 files changed

+47
-40
lines changed

3 files changed

+47
-40
lines changed

.github/workflows/bat.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ jobs:
9494
[~, f] = fileparts(pwd);
9595
assert(strcmp(f, 'subdir'));
9696
startup-options: -sd subdir
97+
- name: Run command with testrunner to generate test summary
98+
uses: ./
99+
with:
100+
command: >
101+
runner = testrunner();
102+
suite = testsuite();
103+
result = run(runner, suite);
97104
- name: Verify environment variables make it to MATLAB
98105
uses: ./
99106
with:

package-lock.json

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "tsc",
1212
"deps": "bash ./scripts/setupdeps.sh",
1313
"package": "ncc build --minify",
14-
"test": "jest",
14+
"test": "jest --passWithNoTests",
1515
"all": "npm test && npm run build && npm run package",
1616
"ci": "npm run clean && npm ci && npm run deps && npm run all"
1717
},

0 commit comments

Comments
 (0)