Skip to content

Commit fb7a662

Browse files
committed
chore(ci): set timezone for Android emulator in Detox tests
1 parent bc658dd commit fb7a662

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ jobs:
120120
api-level: 29
121121
avd-name: TestingAVD
122122
disable-animations: true
123-
script: yarn detox:android:test:release
123+
script: |
124+
adb shell setprop persist.sys.timezone "Europe/Prague"
125+
adb shell am broadcast -a android.intent.action.TIMEZONE_CHANGED
126+
yarn detox:android:test:release
124127
- uses: actions/upload-artifact@v7
125128
if: failure()
126129
with:

0 commit comments

Comments
 (0)