Skip to content

Commit

Permalink
ci: Add debug info for detox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisd5 committed Feb 7, 2025
1 parent 4c07450 commit abfdd5b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/ledger-live-mobile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ For a smooth and quick integration:
- See the developers’ documentation on the [Developer Portal](https://developers.ledger.com/docs/coin/general-process/) and
- Go on [Discord](https://developers.ledger.com/discord-pro/) to chat with developer support and the developer community.

---
---
10 changes: 9 additions & 1 deletion apps/ledger-live-mobile/scripts/post.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ function runHashChecks(writeCache = false) {
const lock = join(__dirname, "..", "ios", "Podfile.lock");
const pkg = join(__dirname, "..", "package.json");

if (!existsSync(pods)) return false;
if (!existsSync(pods)) {

echo(chalk.yellow("DEBUG pods don't exist"));

return false;
}

const podsHash = computeMetaHash([pods]);
const lockHash = computeMetaHash([lock]);
Expand All @@ -80,6 +85,9 @@ function runHashChecks(writeCache = false) {
return false;
}

echo(chalk.yellow("DEBUG cache:" + JSON.stringify(cache)));
echo(chalk.yellow("DEBUG result:" + JSON.stringify(result)));

return compareHashes(cache, result);
}

Expand Down

0 comments on commit abfdd5b

Please sign in to comment.