Commit 4cd7a0f
authored
ci: run less e2e jobs when when running from PR (#1239)
## 📜 Description
Reduced amount of iOS e2e tests for PR.
## 💡 Motivation and Context
When we open PR we want to move as quick as possible. Running 2 build
jobs + 6 e2e jobs is a very expensive in terms of time (because we have
only 5 runners available to use simultaneously). So in this PR I decide
to use only 3 jobs for tests:
- iOS 15 (prior to this version only TextKit v1 was used, events were
more synchronous and we had less strange bugs and less strange events
were emitted);
- iOS 17 - classically broken iOS version. On this version we have
TextKit v2, we have early end events etc. +iOS 17 runner is running
fast, so it's our gold standard.
- iOS 26 + Xcode 26 - this is a new combination and we need to assure
that newest iOS runs without issues/regressions.
When we merge into main we run all 6 jobs (just for double
verification).
To achieve this I added a separate step that prepares a matrix for e2e
tests. I've tried other options but this was the only one that was
working 🤷♂️
## 📢 Changelog
<!-- High level overview of important changes -->
<!-- For example: fixed status bar manipulation; added new types
declarations; -->
<!-- If your changes don't affect one of platform/language below - then
remove this platform/language -->
### CI
- run only 3 iOS e2e for PRs;
## 🤔 How Has This Been Tested?
Tested manually via this PR.
## 📸 Screenshots (if appropriate):
<!-- Add screenshots/video if needed -->
<!-- That would be highly appreciated if you can add how it looked
before and after your changes -->
## 📝 Checklist
- [x] CI successfully passed
- [x] I added new mocks and corresponding unit-tests if library API was
changed1 parent 04670f4 commit 4cd7a0f
1 file changed
+19
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
99 | 115 | | |
100 | | - | |
| 116 | + | |
101 | 117 | | |
102 | 118 | | |
103 | 119 | | |
104 | 120 | | |
105 | 121 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 122 | + | |
| 123 | + | |
162 | 124 | | |
163 | 125 | | |
164 | 126 | | |
| |||
0 commit comments