From 8736e73449e054ded3cc9c5455bf352687929932 Mon Sep 17 00:00:00 2001 From: Lorenzo Mattei Date: Tue, 12 Dec 2023 14:01:47 +0100 Subject: [PATCH] Run sync e2e on multiple OS versions (#2256) --- .github/workflows/sync-end-to-end.yml | 28 ++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-end-to-end.yml b/.github/workflows/sync-end-to-end.yml index 3dc49732fa..0125ab669a 100644 --- a/.github/workflows/sync-end-to-end.yml +++ b/.github/workflows/sync-end-to-end.yml @@ -40,7 +40,7 @@ jobs: run: | set -o pipefail && xcodebuild \ -scheme "DuckDuckGo" \ - -destination "platform=iOS Simulator,name=iPhone 14,OS=16.4" \ + -destination "platform=iOS Simulator,name=iPhone 14" \ -derivedDataPath "DerivedData" \ | tee xcodebuild.log @@ -50,8 +50,8 @@ jobs: with: debug: true - - name: Sync e2e tests - uses: mobile-dev-inc/action-maestro-cloud@v1.6.0 + - name: Sync e2e tests - iOS 15 + uses: mobile-dev-inc/action-maestro-cloud@v1.8.0 with: api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app @@ -60,6 +60,28 @@ jobs: env: | CODE=${{ steps.sync-recovery-code.outputs.recovery-code }} + - name: Sync e2e tests - iOS 16 + uses: mobile-dev-inc/action-maestro-cloud@v1.8.0 + with: + api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} + app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app + ios-version: 16 + workspace: .maestro + include-tags: sync + env: | + CODE=${{ steps.sync-recovery-code.outputs.recovery-code }} + + - name: Sync e2e tests - iOS 17 + uses: mobile-dev-inc/action-maestro-cloud@v1.8.0 + with: + api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} + app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app + ios-version: 17 + workspace: .maestro + include-tags: sync + env: | + CODE=${{ steps.sync-recovery-code.outputs.recovery-code }} + - name: Create Asana task when workflow failed if: ${{ failure() }} run: |