| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 67c340d commit 536fed6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,7 +88,28 @@ jobs: | |||
| 88 | 88 | e2e-ios: | |
| 89 | 89 | needs: coverage | |
| 90 | 90 | runs-on: macos-latest | |
| 91 | - timeout-minutes: 60 | ||
| 91 | + timeout-minutes: 40 | ||
| 92 | + # iOS simulators are stable for the full suite (unlike the Android | ||
| 93 | + # emulator — see the e2e-android note), so this split is purely a | ||
| 94 | + # speed optimization: the iOS Maestro run is ~22 minutes and is the | ||
| 95 | + # critical path for the whole E2E workflow. Sharding it across three | ||
| 96 | + # simulators (same balanced groups as Android) runs them in parallel | ||
| 97 | + # and roughly halves wall-clock time. macOS minutes are free on this | ||
| 98 | + # public repo, so the extra per-shard build/boot overhead is fine. | ||
| 99 | + # ``fail-fast: false`` so one shard's failure still lets the others | ||
| 100 | + # report. | ||
| 101 | + strategy: | ||
| 102 | + fail-fast: false | ||
| 103 | + matrix: | ||
| 104 | + include: | ||
| 105 | + - name: components | ||
| 106 | + suites: components | ||
| 107 | + - name: hooks-nav | ||
| 108 | + suites: hooks navigation | ||
| 109 | + - name: layout-styling-anim-misc | ||
| 110 | + suites: layout styling animations misc | ||
| 111 | + | ||
| 112 | + name: e2e-ios (${{ matrix.name }}) | ||
| 92 | 113 | ||
| 93 | 114 | steps: | |
| 94 | 115 | - name: Checkout | |
@@ -109,6 +130,6 @@ jobs: | |||
| 109 | 130 | brew tap facebook/fb && brew install idb-companion | |
| 110 | 131 | ||
| 111 | 132 | - name: Build and run E2E tests | |
| 112 | - run: ./scripts/run-e2e.sh ios | ||
| 133 | + run: ./scripts/run-e2e.sh ios ${{ matrix.suites }} | ||
| 113 | 134 | env: | |
| 114 | 135 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments