Add createCheck to display test results in GitHub UI

pull/97/head
David Finol 2021-02-22 22:26:20 -06:00
parent 4b81cfa368
commit 24d6634cb6
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -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 });