Add createCheck to display test results in GitHub UI
parent
4b81cfa368
commit
24d6634cb6
File diff suppressed because one or more lines are too long
|
@ -25,6 +25,7 @@ class Docker {
|
|||
testMode,
|
||||
artifactsPath,
|
||||
useHostNetwork,
|
||||
createCheck,
|
||||
customParameters,
|
||||
} = parameters;
|
||||
|
||||
|
@ -62,6 +63,7 @@ class Docker {
|
|||
--volume "/home/runner/work/_temp/_github_workflow":"/github/workflow" \
|
||||
--volume "${workspace}":"/github/workspace" \
|
||||
${useHostNetwork ? '--net=host' : ''} \
|
||||
${createCheck ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \
|
||||
${image}`;
|
||||
|
||||
await exec(command, undefined, { silent });
|
||||
|
|
Loading…
Reference in New Issue