-
-
Notifications
You must be signed in to change notification settings - Fork 93
Use GitHub Artifacts to upload and download testdata images in CI #1347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ge tests meaningful
…mage testdata handling approach
…g for update test images in imagex to ease doing so in CI workflow_dispatch
…rename CORE_UPDATE_TESTS to CORE_UPDATE_TESTDATA
…different artifact name to prevent the fail files from being download and propagated on future CI runs
…ngs in 'fail' search results in CI logs
…ure consistent results
…h offscreen as a multi-window platform
… multi-window offscreen paradigm
…correctly in Drawer.Start
…indow to prevent app from quitting since we never call core.Wait() on offscreen and thus we don't need it
|
This is all working now except for a number of random variations in rendering in several tests, resulting in CI failures. |
…renderContext itself so that other goroutines can update
kkoreilly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all seems to be finally working!
rcoreilly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, no annoying comments :)
This allows for our unit tests to actually compare current images to previous ones, ensuring proper regression testing; if the image result of any unit test changes, CI will fail and we will have to fix the issue or update the images using
-tags updateif it is intended. I added a manual button trigger for the workflow that enables-tags updateso we don't have to manually change the workflow back and forth every time there are changes to the images.This PR also makes offscreen a multi-window platform and merges AssertRender and AssertRenderScreen to fix testing unreliability for multi-scene tests.