-
Notifications
You must be signed in to change notification settings - Fork 475
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
Unity Build running for PRs (and Tests) #532
Merged
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9fee181
Reduce to building and running tests - no package generation
mhochk 188efce
Add tolerance level to image comparisson tests
mhochk 81f257f
Set reasonable tolerance
mhochk 3525705
Remake script on mac to correct permissions issue
mhochk c38664d
Switch to play mode testing
mhochk 1095e79
Fix compile error for player-specific compilation of playmode tests
mhochk 5b7cc5a
Remove -nographics so image capture works correctly in the tests
mhochk 658dd81
Add note on ability to replace custom compare logic
mhochk 06cf260
Fixing image load race. Aligning Main with the unit tests.
mhochk 54f694d
Partially revert test to use custom 'actual' images
mhochk 171f321
Turn on camera capabilities in Main
mhochk b7d6e66
Update images
mhochk 74f73ae
Clean up yaml file changes
mhochk 50e7cb9
Update images on Mac with identical Unity version
mhochk b5d681d
Remove old 'scenes' tests
mhochk 8e14c7c
Address comments
mhochk 540ea66
Adding back in nographics so the build can at least complete, even th…
mhochk File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
What are all of these changes in practice? #Resolved
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.
Instead of a custom light, camera, and GLTF component, using the TestScenePrefab that already contains all 3. The Main scene essentially becomes that prefab used by the test, plus a floor and the parts to easily pick which model you want loaded.
In reply to: 358474507 [](ancestors = 358474507)