Repository navigation
test: CI 只记录截图,不做像素比对 - #44
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.3.15 的发布流水线红在这:GitHub 的 Windows runner 上
00-transfer动了 2.01%(区域 1270x842),代码没变 —— 同一个系统,装的字体不同。像素基线属于画它的那台机器。所以 CI 上测试照旧渲染、照旧写图,只是不比对:它证明每屏能合成,比对留在开发机上做(基线就是在那儿建的)。