Skip to content

Commit

Permalink
Update tck-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewd0123 committed Mar 22, 2024
1 parent b69e4c2 commit 9b2ed28
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tck-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ jobs:
for (let i = 0; i < feature_file_list.length; i++){
var file_name = path.parse(feature_file_list[i][0]).name;
var command = 'behave --format json --outfile ./test_manager/reports/' + file_name + '.json --format plain --outfile ./test_manager/reports/' + file_name + '.txt ' + feature_file_list[i][1];
const stdout = execSync(command);
console.log(`stdout: ${stdout}`);
// Continue with your code here
console.log('Command has finished executing');
try {
const stdout = execSync(command);
console.log(`stdout: ${stdout}`);
// Continue with your code here
console.log('Command has finished executing');
} catch (error) {
core.setFailed(error.message);
}
core.info("TESTDONE");
await new Promise(resolve => setTimeout(resolve, 70000));
}
Expand Down

0 comments on commit 9b2ed28

Please sign in to comment.