feat: make syncV2 available for apiVersion 7 - WPB-21456 #24966
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: Test Pull Request Changes | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| merge_group: | |
| types: [checks_requested] | |
| # This is what will cancel the workflow | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # This job will tell us which frameworks have source code changes. | |
| # We'll use the results to run tests only for changed frameworks. | |
| detect-changes: | |
| name: Detect PR Changes | |
| if: ${{ github.event.pull_request.draft != true }} | |
| runs-on: ubuntu-24.04 | |
| # Set job outputs to values from filter step | |
| outputs: | |
| folders: ${{ steps.filter.outputs.changes }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| if: ${{ github.event_name == 'merge_group' }} # on PR, paths-filter can access list of changed files from event payload | |
| with: | |
| lfs: 'false' # as long as we use lfs only for snapshotTesting it should not be useful here | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| filters: | | |
| fastlane: | |
| - 'fastlane/**' | |
| wire-ios: | |
| - 'wire-ios/**' | |
| WireUI: | |
| - 'WireUI/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireUIAll.xcscheme' | |
| wire-ios-share-engine: | |
| - 'wire-ios-share-engine/**' | |
| wire-ios-notification-engine: | |
| - 'wire-ios-notification-engine/**' | |
| wire-ios-sync-engine: | |
| - 'wire-ios-sync-engine/**' | |
| wire-ios-request-strategy: | |
| - 'wire-ios-request-strategy/**' | |
| WireNetwork: | |
| - 'WireNetwork/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireNetworkAll.xcscheme' | |
| WireAnalytics: | |
| - 'WireAnalytics/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireAnalyticsAll.xcscheme' | |
| WireAuthentication: | |
| - 'WireAuthentication/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireAuthenticationAll.xcscheme' | |
| WireData: | |
| - 'WireData/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireDataAll.xcscheme' | |
| WireMessaging: | |
| - 'WireMessaging/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireMessagingAll.xcscheme' | |
| WireCalling: | |
| - 'WireCalling/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireCallingAll.xcscheme' | |
| WireLogging: | |
| - 'WireLogging/**' | |
| WireDomain: | |
| - 'WireDomain/**' | |
| wire-ios-data-model: | |
| - 'wire-ios-data-model/**' | |
| wire-ios-transport: | |
| - 'wire-ios-transport/**' | |
| wire-ios-cryptobox: | |
| - 'wire-ios-cryptobox/**' | |
| wire-ios-mocktransport: | |
| - 'wire-ios-mocktransport/**' | |
| wire-ios-images: | |
| - 'wire-ios-images/**' | |
| wire-ios-link-preview: | |
| - 'wire-ios-link-preview/**' | |
| wire-ios-utilities: | |
| - 'wire-ios-utilities/**' | |
| wire-ios-testing: | |
| - 'wire-ios-testing/**' | |
| WireFoundation: | |
| - 'WireFoundation/**' | |
| - 'wire-ios-mono.xcworkspace/xcshareddata/xcschemes/WireFoundationAll.xcscheme' | |
| wire-ios-system: | |
| - 'wire-ios-system/**' | |
| scripts: | |
| - 'scripts/**' | |
| carthage: | |
| - 'Cartfile.resolved' | |
| trigger_tests_pr: | |
| needs: detect-changes | |
| name: PR Tests | |
| uses: ./.github/workflows/_reusable_run_tests.yml | |
| with: | |
| folders: ${{ join(fromJson(needs.detect-changes.outputs.folders), ',') }} | |
| notify_secret: WIRE_IOS_CI_WEBHOOK | |
| test_dependencies: ${{ github.event_name != 'pull_request' || startsWith(github.base_ref, 'release/cycle') }} # run on merge_queue or release branch PRs | |
| run_critical_flows: ${{ github.event_name != 'pull_request' || startsWith(github.base_ref, 'release/cycle') }} # run on merge_queue or release branch PRs | |
| secrets: inherit |