Skip to content

Commit e509d05

Browse files
committed
Update emulator testing
1 parent d4d4c45 commit e509d05

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,11 @@ jobs:
230230
cp -a ${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/*/sysroot/usr/lib/${ANDROID_EMULATOR_ARCH_TRIPLE}-linux-android/libc++_shared.so "${STAGING}"
231231
cp -a ${SWIFT_ANDROID_SDK_HOME}/swift-android/swift-resources/usr/lib/swift-${ANDROID_EMULATOR_ARCH_TRIPLE}/android/*.so "${STAGING}"
232232
233-
zip -r "${STAGING}.zip" "${STAGING}"
234-
235-
adb push "${STAGING}.zip" /data/local/tmp/
233+
adb push ${STAGING} /data/local/tmp/
236234
237235
cd -
238236
239-
adb shell unzip -d /data/local/tmp/ /data/local/tmp/"${STAGING_BASE}.zip"
240-
adb shell /data/local/tmp/"${STAGING_BASE}"/"${PACKAGE}"PackageTests.xctest
237+
adb shell "cd /data/local/tmp/${STAGING} && ./${PACKAGE}PackageTests.xctest"
241238
EOF
242239
243240
chmod +x run-tests.sh

0 commit comments

Comments
 (0)