Skip to content

Commit

Permalink
ci run samples tests serially
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Dec 2, 2020
1 parent b459dba commit e6abdf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xclap.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const runAppTest = (dir, forceLocal) => {
};

const localClap = Path.join("node_modules", ".bin", "clap");
return exec({ cwd: dir }, `fyn --pg simple -q v i`)
return exec({ cwd: dir }, `fyn --pg simple -q v i --sl fyn-ci-${process.pid}.log`)
.then(() => exec({ cwd: dir }, `npm test`))
.then(() => exec({ cwd: dir }, `${localClap} -n build`));
};
Expand Down Expand Up @@ -122,10 +122,10 @@ xclap.load({
const updatedStr = updated.join(" ");

if (updatedStr.indexOf("@xarc/app") >= 0) {
tasks.push([".", ".build-react-component", ".test-tree-shaking"]);
tasks.push([".build-react-component", ".test-tree-shaking"]);
}

return tasks;
return xclap.serial(tasks);
})
.catch(err => {
if (err.output.stderr.indexOf("No packages need updating") < 0) {
Expand Down

0 comments on commit e6abdf6

Please sign in to comment.