Skip to content

Commit 7c7c77f

Browse files
committed
add job summary sanity checks
1 parent 6dbb568 commit 7c7c77f

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/bat.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ jobs:
9494
[~, f] = fileparts(pwd);
9595
assert(strcmp(f, 'subdir'));
9696
startup-options: -sd subdir
97+
- name: Run command to run tests
98+
uses: ./
99+
with:
100+
command: runtests("sample/TheTruth.m");
101+
- name: Run command to run tests (sanity check for test summary)
102+
uses: ./
103+
with:
104+
command: runtests("sample/TheTruth.m"); runtests("sample/TheTruth.m"); runtests("sample/TheTruth.m");
97105
- name: Create buildfile.m in project root for build and test summary
98106
shell: bash
99107
run: |
@@ -111,6 +119,10 @@ jobs:
111119
uses: ./
112120
with:
113121
command: buildtool preMadeTest
122+
- name: Run command with buildtool multiple times with pre-made test task (sanity check for build summary)
123+
uses: ./
124+
with:
125+
command: buildtool preMadeTest; buildtool preMadeTest; buildtool preMadeTest;
114126
- name: Verify environment variables make it to MATLAB
115127
uses: ./
116128
with:

0 commit comments

Comments
 (0)