Fix script execution order. Run test fixture in workflow.

This commit is contained in:
Yang Chen
2019-12-15 00:34:03 +11:00
committed by ychescale9
parent 269b6dcc82
commit c03965e565
35 changed files with 720 additions and 14 deletions
+6 -6
View File
@@ -69,14 +69,14 @@ function run() {
core.setFailed(error.message);
}
// execute the custom script
scripts.forEach((script) => __awaiter(this, void 0, void 0, function* () {
try {
try {
for (const script of scripts) {
yield exec.exec(`${script}`);
}
catch (error) {
core.setFailed(error.message);
}
}));
}
catch (error) {
core.setFailed(error.message);
}
// finally kill the emulator
yield emulator_manager_1.killEmulator();
}