mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-04-25 23:03:03 -07:00
perf: only screenshot on failure, revert timeout to 25min
AfterStep was capturing a screenshot after every step (~1191 of 1446 steps). Each screenshot requires IPC round-trip: getFirstWebContentsView capturePage serialize PNG transfer buffer fs.writeFile. On CI this costs ~200-400ms per step, totaling ~6 minutes of pure screenshot overhead. Now screenshots are only taken for FAILED steps, saving ~6 minutes on CI. This brings the total test time well within the 25-minute budget.
This commit is contained in:
parent
acced7d685
commit
0d304dd5cd
3 changed files with 11 additions and 13 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
# Set Chinese locale for i18n testing
|
||||
LANG: zh_CN.UTF-8
|
||||
LC_ALL: zh_CN.UTF-8
|
||||
timeout-minutes: 60
|
||||
timeout-minutes: 25
|
||||
|
||||
# Upload test artifacts (screenshots, logs)
|
||||
- name: Upload test artifacts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue