Skip to content

Commit 62ed804

Browse files
authored
Add no-output-timeout pass through (#38)
* Add no-output-timeout pass through * Remove extraneous whitespace
1 parent be1c130 commit 62ed804

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/commands/run-command.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ parameters:
1212
script or function, do not specify the file extension. If you specify more than one MATLAB
1313
command, use a comma or semicolon to separate the commands.
1414
type: string
15+
no-output-timeout:
16+
description: >
17+
Elapsed time the command can run without output. The string is a decimal with unit suffix,
18+
such as “20m”, “1.25h”, “5s”. The default is 10 minutes and the maximum is governed by the
19+
maximum time a job is allowed to run.
20+
type: string
21+
default: 10m
1522

1623
steps:
1724
- run:
@@ -20,3 +27,4 @@ steps:
2027
PARAM_COMMAND: <<parameters.command>>
2128
command: <<include(scripts/run-command.sh)>>
2229
shell: bash
30+
no_output_timeout: <<parameters.no-output-timeout>>

src/commands/run-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ parameters:
6666
Path to write test results report in PDF format.
6767
type: string
6868
default: ''
69+
no-output-timeout:
70+
description: >
71+
Elapsed time the tests can run without output. The string is a decimal with unit suffix,
72+
such as “20m”, “1.25h”, “5s”. The default is 10 minutes and the maximum is governed by the
73+
maximum time a job is allowed to run.
74+
type: string
75+
default: 10m
6976

7077
steps:
7178
- run:
@@ -84,3 +91,4 @@ steps:
8491
PARAM_TEST_RESULTS_PDF: <<parameters.test-results-pdf>>
8592
command: <<include(scripts/run-tests.sh)>>
8693
shell: bash
94+
no_output_timeout: <<parameters.no-output-timeout>>

0 commit comments

Comments
 (0)