|
| 1 | +name: iOS E2E Smoke Tests |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_call: |
| 5 | + |
| 6 | +permissions: |
| 7 | + contents: read |
| 8 | + id-token: write |
| 9 | + |
| 10 | +jobs: |
| 11 | + smoke-confirmations-ios: |
| 12 | + name: "Confirmations Smoke (iOS)" |
| 13 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 14 | + with: |
| 15 | + test-suite-name: smoke-confirmations-ios |
| 16 | + platform: ios |
| 17 | + test_suite_tag: ".*SmokeConfirmations.*" |
| 18 | + secrets: inherit |
| 19 | + |
| 20 | + smoke-confirmations-redesigned-ios: |
| 21 | + name: "Confirmations Redesigned Smoke (iOS)" |
| 22 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 23 | + with: |
| 24 | + test-suite-name: smoke-confirmations-redesigned-ios |
| 25 | + platform: ios |
| 26 | + test_suite_tag: ".*SmokeConfirmationsRedesigned.*" |
| 27 | + secrets: inherit |
| 28 | + |
| 29 | + smoke-trade-ios: |
| 30 | + name: "Trade Smoke (iOS)" |
| 31 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 32 | + with: |
| 33 | + test-suite-name: smoke-trade-ios |
| 34 | + platform: ios |
| 35 | + test_suite_tag: ".*SmokeTrade.*" |
| 36 | + secrets: inherit |
| 37 | + |
| 38 | + smoke-wallet-platform-ios: |
| 39 | + name: "Wallet Platform Smoke (iOS)" |
| 40 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 41 | + with: |
| 42 | + test-suite-name: smoke-wallet-platform-ios |
| 43 | + platform: ios |
| 44 | + test_suite_tag: ".*SmokeWalletPlatform.*" |
| 45 | + secrets: inherit |
| 46 | + |
| 47 | + smoke-identity-ios: |
| 48 | + name: "Identity Smoke (iOS)" |
| 49 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 50 | + with: |
| 51 | + test-suite-name: smoke-identity-ios |
| 52 | + platform: ios |
| 53 | + test_suite_tag: ".*SmokeIdentity.*" |
| 54 | + secrets: inherit |
| 55 | + |
| 56 | + smoke-accounts-ios: |
| 57 | + name: "Accounts Smoke (iOS)" |
| 58 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 59 | + with: |
| 60 | + test-suite-name: smoke-accounts-ios |
| 61 | + platform: ios |
| 62 | + test_suite_tag: ".*SmokeAccounts.*" |
| 63 | + secrets: inherit |
| 64 | + |
| 65 | + smoke-network-abstraction-ios: |
| 66 | + name: "Network Abstraction Smoke (iOS)" |
| 67 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 68 | + with: |
| 69 | + test-suite-name: smoke-network-abstraction-ios |
| 70 | + platform: ios |
| 71 | + test_suite_tag: ".*SmokeNetworkAbstraction.*" |
| 72 | + secrets: inherit |
| 73 | + |
| 74 | + smoke-network-expansion-ios: |
| 75 | + name: "Network Expansion Smoke (iOS)" |
| 76 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 77 | + with: |
| 78 | + test-suite-name: smoke-network-expansion-ios |
| 79 | + platform: ios |
| 80 | + test_suite_tag: ".*NetworkExpansion.*" |
| 81 | + secrets: inherit |
| 82 | + |
| 83 | + smoke-performance-ios: |
| 84 | + name: "Performance Smoke (iOS)" |
| 85 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 86 | + with: |
| 87 | + test-suite-name: smoke-performance-ios |
| 88 | + platform: ios |
| 89 | + test_suite_tag: ".*Performance.*" |
| 90 | + secrets: inherit |
| 91 | + |
| 92 | + smoke-card-ios: |
| 93 | + name: "Card Smoke (iOS)" |
| 94 | + uses: ./.github/workflows/run-e2e-workflow.yml |
| 95 | + with: |
| 96 | + test-suite-name: smoke-card-ios |
| 97 | + platform: ios |
| 98 | + test_suite_tag: ".*SmokeCard.*" |
| 99 | + secrets: inherit |
| 100 | + |
| 101 | + report-ios-smoke-tests: |
| 102 | + name: Report iOS Smoke Tests |
| 103 | + runs-on: ubuntu-latest |
| 104 | + if: always() |
| 105 | + needs: |
| 106 | + - smoke-confirmations-ios |
| 107 | + - smoke-confirmations-redesigned-ios |
| 108 | + - smoke-trade-ios |
| 109 | + - smoke-wallet-platform-ios |
| 110 | + - smoke-identity-ios |
| 111 | + - smoke-accounts-ios |
| 112 | + - smoke-network-abstraction-ios |
| 113 | + - smoke-network-expansion-ios |
| 114 | + - smoke-performance-ios |
| 115 | + - smoke-card-ios |
| 116 | + |
| 117 | + steps: |
| 118 | + - name: Checkout |
| 119 | + uses: actions/checkout@v4 |
| 120 | + |
| 121 | + - name: Download all test results |
| 122 | + uses: actions/download-artifact@v4 |
| 123 | + with: |
| 124 | + path: all-test-results/ |
| 125 | + pattern: "*-ios-test-results" |
| 126 | + |
| 127 | + - name: Post Test Report |
| 128 | + uses: dorny/test-reporter@dc3a92680fcc15842eef52e8c4606ea7ce6bd3f3 |
| 129 | + with: |
| 130 | + name: "iOS E2E Smoke Test Results" |
| 131 | + path: "all-test-results/**/*.xml" |
| 132 | + reporter: "jest-junit" |
| 133 | + fail-on-error: false |
| 134 | + list-suites: "all" |
| 135 | + list-tests: "all" |
| 136 | + |
| 137 | + - name: Upload merged report |
| 138 | + uses: actions/upload-artifact@v4 |
| 139 | + with: |
| 140 | + name: ios-merged-test-report |
| 141 | + path: all-test-results/**/*.xml |
0 commit comments