-
-
Notifications
You must be signed in to change notification settings - Fork 0
unity-cli@v1.8.2 #63
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
base: main
Are you sure you want to change the base?
unity-cli@v1.8.2 #63
Conversation
StephenHodgson
commented
Dec 20, 2025
- add additional unity utp log handling
- add additional unity utp log handling
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.
Pull request overview
This PR adds enhanced Unity Test Platform (UTP) log handling capabilities to unity-cli version 1.8.2. The changes introduce test scenario files that intentionally generate various types of failures and warnings to validate the CLI's error handling and logging infrastructure.
- Adds six Unity test scenario files covering compiler errors/warnings, build errors/warnings, and playmode/editmode test failures
- Implements UTP log artifact upload in the CI workflow to capture test execution logs
- Updates package version from 1.8.1 to 1.8.2 with related dependency bumps
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| unity-tests/PlaymodeTestsErrors.cs | Playmode test that intentionally fails to validate test failure reporting |
| unity-tests/EditmodeTestsErrors.cs | Editmode test that intentionally fails to validate test failure reporting |
| unity-tests/CompilerWarnings.cs | Generates obsolete API warnings for compiler warning scenario testing |
| unity-tests/CompilerErrors.cs | Uses #error directive to force compilation errors for error scenario testing |
| unity-tests/BuildWarnings.cs | Build preprocessor that emits warnings during Unity build pipeline |
| unity-tests/BuildErrors.cs | Build preprocessor that throws exceptions to simulate build failures |
| package.json | Version bump to 1.8.2 |
| package-lock.json | Version update and automatic dependency updates for baseline-browser-mapping, caniuse-lite, dedent, and update-browserslist-db |
| .github/workflows/build-options.json | Adds tests array listing all new test scenario files |
| .github/workflows/unity-build.yml | Adds UTP log artifact upload step and removes trailing whitespace |
Comments suppressed due to low confidence (1)
unity-tests/CompilerWarnings.cs:12
- Call to obsolete method ObsoleteApi.
ObsoleteApi(); // CS0618: call to obsolete member
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.