Skip to content

Commit ebe144b

Browse files
committed
Try building in debug mode with added logging
1 parent 2d2ca91 commit ebe144b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ jobs:
239239
adb logcat > emulator-logcat.txt 2>&1 &
240240
LOGCAT_PID=$!
241241
# Build, install and run the app
242-
npm run test:android:allTests -- --mode Release
242+
npm run test:android:allTests
243+
# npm run test:android:allTests -- --mode Release
243244
# Wait a bit for the sub-process to terminate, before terminating the emulator
244245
sleep 5
245246
# Stop logcat

apps/test-app/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function loadTests({
7373
const exampleAddon =
7474
/* eslint-disable-next-line @typescript-eslint/no-require-imports -- TODO: Determine why a dynamic import doesn't work on Android */
7575
require("@react-native-node-api/ferric-example") as typeof import("@react-native-node-api/ferric-example");
76+
console.log({ exampleAddon });
7677
const result = exampleAddon.sum(1, 3);
7778
if (result !== 4) {
7879
throw new Error(`Expected 1 + 3 to equal 4, but got ${result}`);

0 commit comments

Comments
 (0)