fix: Set handled to false for fatal app hangs (#5514) #3127
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: UI Tests Critical | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - "Sources/**" | |
| - ".github/workflows/ui-tests-critical.yml" | |
| - ".github/workflows/ui-tests-common.yml" | |
| - "fastlane/**" | |
| - "TestSamples/**" | |
| - "**/*.xctestplan" | |
| # Explicitly list used scripts to avoid unnecessary runs | |
| - "scripts/ci-boot-simulator.sh" | |
| - "scripts/ci-select-xcode.sh" | |
| # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| run-tests: | |
| name: Test iOS on Xcode ${{matrix.platform.xcode}} - ${{ matrix.command.fastlane_command }} - V4 # Up the version with every change to keep track of flaky tests | |
| uses: ./.github/workflows/ui-tests-common.yml | |
| with: | |
| fastlane_command: ${{ matrix.command.fastlane_command }} | |
| build_with_make: true | |
| xcode_version: ${{matrix.platform.xcode}} | |
| macos_version: ${{matrix.platform.runs-on}} | |
| files_suffix: _${{matrix.platform.xcode}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| # As of 25th March 2025, the preinstalled iOS simulator version is 16.4 for macOS 13 and Xcode 14.3.1; see | |
| # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#installed-sdks | |
| - runs-on: macos-13 | |
| xcode: "14.3.1" | |
| # macos-14 iOS 17 not included due to the XCUIServerNotFound errors causing flaky tests | |
| # As of 25th March 2025, the preinstalled iOS simulator version is 18.2 for macOS 15 and Xcode 16.2; see | |
| # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md#installed-sdks | |
| - runs-on: macos-15 | |
| xcode: "16.2" | |
| command: | |
| - fastlane_command: ui_critical_tests_ios_swiftui_envelope | |
| - fastlane_command: ui_critical_tests_ios_swiftui_crash |