diff --git a/.buildkite/ios.yml b/.buildkite/ios.yml --- a/.buildkite/ios.yml +++ b/.buildkite/ios.yml @@ -1,8 +1,9 @@ steps: - - label: ":ios: iOS Build" + - label: ':ios: iOS Build' command: - 'pod repo update && yarn workspace native clean-ios' - 'yarn cleaninstall --frozen-lockfile --skip-optional' - 'cd native/ios && xcodebuild -workspace Comm.xcworkspace -scheme Comm -destination generic/platform=iOS -allowProvisioningUpdates' + - 'xcodebuild test -workspace Comm.xcworkspace -scheme Comm -destination name="iPhone 13"' agents: - 'mac=true' diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml --- a/.github/workflows/ios_ci.yml +++ b/.github/workflows/ios_ci.yml @@ -59,6 +59,10 @@ AUTH_KEY: ${{secrets.AUTH_KEY}} run: echo "$AUTH_KEY" > AUTH_KEY.p8 + - name: XCTest + working-directory: ./native/ios + run: xcodebuild test -workspace Comm.xcworkspace -scheme Comm -destination name="iPhone 13" + - name: Archive working-directory: ./native/ios env: