Skip to content

test: CI 只记录截图,不做像素比对 - #44

Merged
huxc573 merged 1 commit into
mainfrom
ci-no-pixel-diff
Oct 25, 2026
Merged

huxc573 merged 1 commit into
mainfrom
ci-no-pixel-diff

Conversation

@huxc573

@huxc573 huxc573 commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

v0.3.15 的发布流水线红在这:GitHub 的 Windows runner 上 00-transfer 动了 2.01%(区域 1270x842),代码没变 —— 同一个系统,装的字体不同。

像素基线属于画它的那台机器。所以 CI 上测试照旧渲染、照旧写图,只是不比对:它证明每屏能合成,比对留在开发机上做(基线就是在那儿建的)。

The release run on the GitHub Windows runner moved 2% of 00-transfer with no code
change: same OS, different set of installed fonts. A pixel baseline belongs to the
machine that drew it, so on CI the tests now write the pictures and stop there — they
still prove every screen composes, and the comparison stays where the baseline came
from, which is the machine the interface is being looked at on.
@huxc573
huxc573 merged commit 1201df2 into main Oct 25, 2026
3 checks passed
@huxc573
huxc573 deleted the ci-no-pixel-diff branch October 25, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant