Skip to content

fix: prevent sendMessage() auto-reconnect on intentional background d… #84

fix: prevent sendMessage() auto-reconnect on intentional background d…

fix: prevent sendMessage() auto-reconnect on intentional background d… #84

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build-and-test:
name: Build & Test (iOS Simulator)
runs-on: macos-15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Xcode version
run: xcodebuild -version
- name: List available simulators
run: xcrun simctl list devices available | grep -E "iPhone" | head -10
- name: Resolve packages
run: |
xcodebuild -resolvePackageDependencies \
-project Aptove.xcodeproj \
-scheme Aptove
- name: Build and run tests
run: |
xcodebuild test \
-project Aptove.xcodeproj \
-scheme Aptove \
-destination 'platform=iOS Simulator,name=iPhone 16' \
-resultBundlePath TestResults.xcresult \
-skipPackagePluginValidation \
-skipMacroValidation \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: TestResults.xcresult
retention-days: 14