Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kkoreilly
Copy link
Member

@kkoreilly kkoreilly commented Nov 25, 2024

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 update if it is intended. I added a manual button trigger for the workflow that enables -tags update so 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.

@kkoreilly
Copy link
Member Author

This is all working now except for a number of random variations in rendering in several tests, resulting in CI failures.

Copy link
Member Author

@kkoreilly kkoreilly left a 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!

@kkoreilly kkoreilly marked this pull request as ready for review January 27, 2025 07:31
rcoreilly
rcoreilly previously approved these changes Jan 27, 2025
Copy link
Member

@rcoreilly rcoreilly left a 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 :)

@rcoreilly rcoreilly merged commit ddf64b8 into main Jan 27, 2025
1 check passed
@rcoreilly rcoreilly deleted the testdata-artifact branch January 27, 2025 07:51
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.

3 participants