Commit fc87ab6
Test User
feat(ci): add conditional test execution for main vs feature branches
- Main branch: Full E2E suite (SIGINT + SIGTERM) ~3min
- Feature branches: Fast path (SIGINT only) ~1min
- ~40% speedup on PR CI runs
- Maintains full coverage on main branch
Implementation:
- New job: detect-branch-type (determines main vs feature)
- Updated job: cerber_e2e_all_modes (uses test-mode output)
- Conditional execution: full vs fast mode using --testNamePattern
Related: Phase 1 COMMIT 3 (FINAL)
Refs: Test stabilization roadmap1 parent 4c0a898 commit fc87ab6
1 file changed
Lines changed: 33 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
21 | 39 | | |
22 | 40 | | |
23 | 41 | | |
| |||
302 | 320 | | |
303 | 321 | | |
304 | 322 | | |
305 | | - | |
| 323 | + | |
306 | 324 | | |
307 | | - | |
| 325 | + | |
308 | 326 | | |
309 | 327 | | |
310 | 328 | | |
| |||
375 | 393 | | |
376 | 394 | | |
377 | 395 | | |
378 | | - | |
| 396 | + | |
379 | 397 | | |
380 | 398 | | |
381 | 399 | | |
382 | 400 | | |
383 | 401 | | |
384 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
385 | 405 | | |
386 | | - | |
387 | 406 | | |
388 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
389 | 416 | | |
390 | 417 | | |
391 | 418 | | |
| |||
0 commit comments