Skip to content

Commit 359795b

Browse files
committed
fix(ci): propagate android emulator test exit code in CI
1 parent f79d8b0 commit 359795b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ jobs:
215215
adb root
216216
adb remount
217217
adb push ${{ github.workspace }}/. /data/local/tmp/
218-
adb shell "sh /data/local/tmp/commands.sh"
218+
adb shell "sh /data/local/tmp/commands.sh; echo EXIT_CODE=\$?" | tee /tmp/adb_output.log
219+
grep -q "EXIT_CODE=0" /tmp/adb_output.log
219220
220221
- name: test sqlite-sync
221222
if: contains(matrix.name, 'linux') || matrix.name == 'windows' || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )

0 commit comments

Comments
 (0)