Skip to content

Commit

Permalink
Run sync e2e on multiple OS versions (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
loremattei authored Dec 12, 2023
1 parent b55c360 commit 8736e73
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .github/workflows/sync-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -60,6 +60,28 @@ jobs:
env: |
CODE=${{ steps.sync-recovery-code.outputs.recovery-code }}
- name: Sync e2e tests - iOS 16
uses: mobile-dev-inc/[email protected]
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/[email protected]
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: |
Expand Down

0 comments on commit 8736e73

Please sign in to comment.