Skip to content

Commit

Permalink
Run e2e release tests on mulitple iOS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
loremattei committed Sep 4, 2024
1 parent 76b9d1d commit 86f81d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
set -o pipefail && xcodebuild \
-scheme "DuckDuckGo" \
-destination "platform=iOS Simulator,name=iPhone 15,OS=17.2" \
-destination "platform=iOS Simulator,name=iPhone 15" \
-derivedDataPath "DerivedData" \
-skipPackagePluginValidation \
-skipMacroValidation \
Expand Down Expand Up @@ -73,6 +73,12 @@ jobs:
strategy:
matrix:
test-tag: [release, privacy, securityTest, adClick]
os-version: [17]
include:
- test-tag: release
os-version: 16
- test-tag: release
os-version: 15
max-parallel: 1 # Uncomment this line to run tests sequentially.
fail-fast: false

Expand All @@ -93,7 +99,7 @@ jobs:
- name: End to End tests
run: |
export PATH="$PATH":"$HOME/.maestro/bin"; maestro cloud --apiKey ${{ secrets.MAESTRO_CLOUD_API_KEY }} -e ONBOARDING_COMPLETED=true --fail-on-timeout=true --fail-on-cancellation=true --timeout=150 --ios-version=17 --include-tags=${{ matrix.test-tag }} DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app .maestro/
export PATH="$PATH":"$HOME/.maestro/bin"; maestro cloud --apiKey ${{ secrets.MAESTRO_CLOUD_API_KEY }} -e ONBOARDING_COMPLETED=true --fail-on-timeout=true --fail-on-cancellation=true --timeout=150 --ios-version=${{ matrix.os-version }} --include-tags=${{ matrix.test-tag }} DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app .maestro/
notify-failure:
name: Notify on failure
Expand Down

0 comments on commit 86f81d6

Please sign in to comment.