Fix script execution order. Run test fixture in workflow.

This commit is contained in:
Yang Chen authored and ychescale9 committed 2019-12-15 02:15:41 +11:00
1 parent 269b6dcc82
commit c03965e565
35 files changed
+720 -14

No files matched your search

+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();
}