feat: Add support for tags and trace context fields for termination watch #12897
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - "Sources/**" | |
| - "Tests/**" | |
| - ".github/workflows/ui-tests.yml" | |
| - ".github/workflows/ui-tests-common.yml" | |
| - "fastlane/**" | |
| - ".sauce/config.yml" | |
| - "scripts/ci-select-xcode.sh" | |
| - "**/*.xctestplan" | |
| - "Samples/iOS-SwiftUI/**" | |
| - "Samples/iOS-Swift/**" | |
| - "Samples/iOS-Swift6/**" | |
| - "Samples/SentrySampleShared/**" | |
| - "Samples/Shared/**" | |
| - "scripts/build-xcframework-slice.sh" | |
| - "scripts/assemble-xcframework.sh" | |
| - ".github/workflows/build-xcframework-variant-slices.yml" | |
| - ".github/workflows/assemble-xcframework-variant.yml" | |
| # 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: | |
| ui-tests: | |
| name: UI Tests for ${{matrix.target}} - V3 # Up the version with every change to keep track of flaky tests | |
| uses: ./.github/workflows/ui-tests-common.yml | |
| strategy: | |
| matrix: | |
| target: ["ios_objc", "tvos_swift"] | |
| with: | |
| fastlane_command: ui_tests_${{matrix.target}} | |
| xcode_version: 16.2 | |
| build_with_make: true | |
| macos_version: macos-14 | |
| # SwiftUI only supports iOS 14+ so we run it in a separate matrix here | |
| ui-tests-swift-ui: | |
| name: UI Tests for SwiftUI - V4 # Up the version with every change to keep track of flaky tests | |
| uses: ./.github/workflows/ui-tests-common.yml | |
| with: | |
| fastlane_command: ui_tests_ios_swiftui | |
| xcode_version: 16.4 | |
| build_with_make: true | |
| macos_version: macos-15 | |
| fastlane_command_extra_arguments: device:iPhone 16 (18.5) | |
| ui-tests-swift: | |
| name: UI Tests for iOS-Swift Xcode ${{matrix.xcode}} - V5 # Up the version with every change to keep track of flaky tests | |
| uses: ./.github/workflows/ui-tests-common.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - runs-on: macos-13 | |
| xcode: "14.3.1" | |
| device: iPhone 14 (16.4) | |
| - runs-on: macos-14 | |
| xcode: "15.4" | |
| device: iPhone 15 (17.5) | |
| - runs-on: macos-15 | |
| xcode: "16.4" | |
| device: iPhone 16 (18.5) | |
| with: | |
| fastlane_command: ui_tests_ios_swift | |
| fastlane_command_extra_arguments: device:${{matrix.device}} | |
| files_suffix: _xcode_${{matrix.xcode}}-${{matrix.device}} | |
| xcode_version: ${{matrix.xcode}} | |
| build_with_make: true | |
| macos_version: ${{matrix.runs-on}} | |
| ui-tests-swift6: | |
| name: UI Tests for iOS-Swift6 - V3 # Up the version with every change to keep track of flaky tests | |
| uses: ./.github/workflows/ui-tests-common.yml | |
| with: | |
| fastlane_command: ui_tests_ios_swift6 | |
| xcode_version: 16.2 | |
| build_with_make: true | |
| macos_version: macos-15 |