Skip to content

Commit

Permalink
Print out stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jul 1, 2024
1 parent e2ab36b commit bb616fc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
10 changes: 7 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions src/data-caterer.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ async function runTests(parsedConfig, configFileDirectory, baseFolder) {
core.debug(`Using data caterer configuration folder: ${configurationFolder}`)
core.info(`Using shared folder: ${sharedFolder}`)
fs.mkdirSync(configurationFolder, { recursive: true })
fs.mkdirSync(sharedFolder, { recursive: true, mode: 0o777 })
fs.mkdirSync(sharedFolder, { recursive: true, mode: '777' })

if (parsedConfig.run) {
for (const [i, runConf] of parsedConfig.run.entries()) {
Expand Down Expand Up @@ -461,7 +461,11 @@ async function runTests(parsedConfig, configFileDirectory, baseFolder) {
* @param baseFolder Folder where execution files get saved
* @returns {string} Results of data-caterer
*/
function runIntegrationTests(applicationConfig, instaInfraFolder, baseFolder) {
async function runIntegrationTests(
applicationConfig,
instaInfraFolder,
baseFolder
) {
if (instaInfraFolder.includes(' ')) {
throw new Error(`Invalid insta-infra folder pathway=${instaInfraFolder}`)
}
Expand All @@ -487,7 +491,7 @@ function runIntegrationTests(applicationConfig, instaInfraFolder, baseFolder) {
})
}

const testResults = runTests(
const testResults = await runTests(
parsedConfig,
applicationConfigDirectory,
baseFolder
Expand Down

0 comments on commit bb616fc

Please sign in to comment.