update index.js
parent
6e946774f7
commit
53bafea0a6
|
|
@ -279,6 +279,7 @@ const Docker = {
|
||||||
--cidfile "${cidfile}" \
|
--cidfile "${cidfile}" \
|
||||||
--rm \
|
--rm \
|
||||||
${image_environment_factory_1.default.getEnvVarString(parameters)} \
|
${image_environment_factory_1.default.getEnvVarString(parameters)} \
|
||||||
|
--env BEE_CACHE_DIRECTORY=c:/github/workspace/Library/bee_cache \
|
||||||
--env TEST_PLATFORMS="${testPlatforms}" \
|
--env TEST_PLATFORMS="${testPlatforms}" \
|
||||||
--env GITHUB_WORKSPACE="c:/github/workspace" \
|
--env GITHUB_WORKSPACE="c:/github/workspace" \
|
||||||
${sshAgent ? '--env SSH_AUTH_SOCK=c:/ssh-agent' : ''} \
|
${sshAgent ? '--env SSH_AUTH_SOCK=c:/ssh-agent' : ''} \
|
||||||
|
|
@ -1016,7 +1017,7 @@ const ResultsCheck = {
|
||||||
core.info(`Processing file ${filepath}...`);
|
core.info(`Processing file ${filepath}...`);
|
||||||
try {
|
try {
|
||||||
const content = fs.readFileSync(path_1.default.join(artifactsPath, filepath), 'utf8');
|
const content = fs.readFileSync(path_1.default.join(artifactsPath, filepath), 'utf8');
|
||||||
if (!content.includes('<test-results') && !content.includes('<test-run')) {
|
if (!content.includes('<test-run')) {
|
||||||
// noinspection ExceptionCaughtLocallyJS
|
// noinspection ExceptionCaughtLocallyJS
|
||||||
throw new Error('File does not appear to be a NUnit XML file');
|
throw new Error('File does not appear to be a NUnit XML file');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue