From 86f81d68325a4cc0954433810e403103f73044f0 Mon Sep 17 00:00:00 2001 From: Lorenzo Mattei Date: Wed, 4 Sep 2024 10:55:43 +0200 Subject: [PATCH] Run e2e release tests on mulitple iOS versions --- .github/workflows/end-to-end.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/end-to-end.yml b/.github/workflows/end-to-end.yml index 3576b629c8..762ee45b67 100644 --- a/.github/workflows/end-to-end.yml +++ b/.github/workflows/end-to-end.yml @@ -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 \ @@ -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 @@ -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