Skip to content

Commit 61311b0

Browse files
committed
ci: extend macos uni watch budgets
1 parent 50bc4a4 commit 61311b0

2 files changed

Lines changed: 31 additions & 8 deletions

File tree

.github/workflows/e2e-watch.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
watch_case: uni-app-vite-tailwindcss-v3
4343
round_profile: default
4444
watch_save_snapshots: '1'
45-
timeout_minutes: 35
46-
watch_timeout_ms: '240000'
47-
watch_poll_ms: '280'
48-
watch_command_timeout_ms: '600000'
45+
timeout_minutes: 60
46+
watch_timeout_ms: '420000'
47+
watch_poll_ms: '340'
48+
watch_command_timeout_ms: '1500000'
4949
- os: macos-latest
5050
runner_label: macos
5151
watch_case: mpx-tailwindcss-v3
@@ -69,10 +69,10 @@ jobs:
6969
watch_case: uni-app-vite-tailwindcss-v3
7070
round_profile: issue33
7171
watch_save_snapshots: '1'
72-
timeout_minutes: 35
73-
watch_timeout_ms: '240000'
74-
watch_poll_ms: '280'
75-
watch_command_timeout_ms: '600000'
72+
timeout_minutes: 60
73+
watch_timeout_ms: '420000'
74+
watch_poll_ms: '340'
75+
watch_command_timeout_ms: '1500000'
7676
- os: macos-latest
7777
runner_label: macos
7878
watch_case: weapp-vite-tailwindcss-v3

packages/weapp-tailwindcss/test/ci/workflows.test.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,31 @@ describe('e2e watch workflow', () => {
297297
watch_command_timeout_ms: '1500000',
298298
},
299299
]
300+
const slowMacosUniAppPrBudgets = [
301+
{
302+
watch_case: 'uni-app-vite-tailwindcss-v3',
303+
round_profile: 'default',
304+
timeout_minutes: 60,
305+
watch_timeout_ms: '420000',
306+
watch_command_timeout_ms: '1500000',
307+
},
308+
{
309+
watch_case: 'uni-app-vite-tailwindcss-v3',
310+
round_profile: 'issue33',
311+
timeout_minutes: 60,
312+
watch_timeout_ms: '420000',
313+
watch_command_timeout_ms: '1500000',
314+
},
315+
]
300316

301317
expect(prRows).toContainEqual(expect.objectContaining(slowMacosWeappViteBudget))
318+
for (const budget of slowMacosUniAppPrBudgets) {
319+
expect(prRows).toContainEqual(expect.objectContaining({
320+
os: 'macos-latest',
321+
runner_label: 'macos',
322+
...budget,
323+
}))
324+
}
302325
for (const budget of slowWindowsPrBudgets) {
303326
expect(prRows).toContainEqual(expect.objectContaining({
304327
os: 'windows-latest',

0 commit comments

Comments
 (0)