Skip to content

Conversation

@lucasmerlin
Copy link
Collaborator

@lucasmerlin lucasmerlin commented Mar 17, 2025

It seems like the thresholds are too low for all tests to pass when snapshots are generated from windows / linux. We need a better solution to this problem, but in the meantime this script should allow contributors to update their snapshots by downloading them from the last CI run.

@lucasmerlin lucasmerlin added dev-experience CI Continues Integration test labels Mar 17, 2025
@github-actions
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5816-lucasupdate-snapshots-from-ci
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@emilk
Copy link
Owner

emilk commented Mar 21, 2025

Is this ready to merge? Have the latest changes been tested?

@lucasmerlin
Copy link
Collaborator Author

It seems to cause more snapshot updates than necessary, since it also updates snapshots that are silghtly different but below the threshold, but I think it's still worth having

@lucasmerlin lucasmerlin merged commit 903bd81 into master Mar 25, 2025
46 checks passed
@lucasmerlin lucasmerlin deleted the lucas/update-snapshots-from-ci branch March 25, 2025 08:19
darkwater pushed a commit to darkwater/egui that referenced this pull request Aug 24, 2025
It seems like the thresholds are too low for all tests to pass when
snapshots are generated from windows / linux. We need a better solution
to this problem, but in the meantime this script should allow
contributors to update their snapshots by downloading them from the last
CI run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continues Integration test dev-experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants