File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,15 +30,13 @@ jobs:
3030 - name : " Build Swift Package for Android"
3131 run : |
3232 ANDROID_NDK_ROOT="" ANDROID_SDK_VERSION=${{ matrix.android-api }} skip android build --arch ${{ matrix.arch }} --android-api-level ${{ matrix.android-api }}
33- - name : " Install and launch emulator "
33+ - name : " Test Swift Package on Android "
3434 # can only lookup the current JavaVirtualMachine on SDK >= 31
3535 # https://github.com/swiftlang/swift-java/issues/419
3636 if : ${{ matrix.android-api >= 31 }}
37- run : |
38- skip android emulator create --android-api-level ${{ matrix.android-api }}
39- skip android emulator launch --background
40- - name : " Test Swift package on emulator"
41- if : ${{ matrix.android-api >= 31 }}
42- run : |
43- skip android test --apk
37+ uses : reactivecircus/android-emulator-runner@v2
38+ with :
39+ api-level : ${{ matrix.android-api }}
40+ arch : x86_64
41+ script : skip android test --android-api-level ${{ matrix.android-api }} --apk --verbose
4442
You can’t perform that action at this time.
0 commit comments