-
-
Notifications
You must be signed in to change notification settings - Fork 0
unity-cli@v1.9.0 #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
Open
StephenHodgson
wants to merge
82
commits into
main
Choose a base branch
from
dev/utp-logging
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
unity-cli@v1.9.0 #63
Changes from 3 commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
b10438d
unity-cli@v1.8.2
StephenHodgson ed17047
bump
StephenHodgson 80515c3
integrate tests
StephenHodgson f38b099
default permissions
StephenHodgson ca76f67
update test logic
StephenHodgson b531116
update artifact names
StephenHodgson 0d99a0c
test dev job builder
StephenHodgson 7d0df3d
fix permissions
StephenHodgson 2ce7a94
misc
StephenHodgson 28d2f8e
don't write summary if no telemetry output
StephenHodgson fe5423a
add additional utp types for logging [skip ci]
StephenHodgson 545be7a
rework tests
StephenHodgson 5b67358
tweaks
StephenHodgson c7bbdd1
fixes to workflow
StephenHodgson 4a6cacc
fix openupm installs
StephenHodgson 32278ac
update matrix build artifact names
StephenHodgson 15bce31
don't clean between runs
StephenHodgson 937832a
cleanup artifacts between tests
StephenHodgson 1c53207
upgate utp tests
StephenHodgson a9f7246
update run utp tests
StephenHodgson c48ad26
relax expected message success check
StephenHodgson cf870e6
update utp tests
StephenHodgson 5e644f2
update utp tests
StephenHodgson 78cd83d
update edit mode test error
StephenHodgson e4a60c6
update tests
StephenHodgson 556902e
add editor assembly for editor tests
StephenHodgson f7bfda9
remove cp warning for gnu clobber
StephenHodgson 9410cc8
fix test
StephenHodgson ede76ee
fix macos tests
StephenHodgson 0f3a2c5
refactor tets
StephenHodgson 6a33538
update utp tests
StephenHodgson f638dde
remove dup step
StephenHodgson f8d637c
Bump tar from 7.5.2 to 7.5.3 in the npm_and_yarn group across 1 direc…
dependabot[bot] 18a04cf
remove some build versions to speed up testing
StephenHodgson ce4aa2e
fix artifact names
StephenHodgson c56991b
fix log uploads
StephenHodgson 1ece76b
add SECURITY.md
StephenHodgson d690ad7
Merge branch 'main' into dev/utp-logging
StephenHodgson 163b139
bump version to 1.9.0
StephenHodgson f54411f
fix asmdef formatting
StephenHodgson e310447
Bump tar from 7.5.2 to 7.5.9 in the npm_and_yarn group across 1 direc…
dependabot[bot] 9570af3
silly unity, they didn't update hub prod endpoint to latest hub version
StephenHodgson c2c3acb
Revert "silly unity, they didn't update hub prod endpoint to latest h…
StephenHodgson c31cfaf
Change output summary format
StephenHodgson b220e44
update summary output format
StephenHodgson efa5562
fix failing ci/cd checks
StephenHodgson f27ccf2
update github actions summary layout
StephenHodgson 75ab052
update summary log format
StephenHodgson 19f46b4
fix build errors
StephenHodgson f2c2482
bump deps
StephenHodgson 4eaafc6
Bump tar from 7.5.2 to 7.5.8 in the npm_and_yarn group across 1 direc…
dependabot[bot] 38b655a
fix some regressions. add unit test tables
StephenHodgson dfc3e1d
add additional unit tests to see table format
StephenHodgson d08413a
give me all the logs
StephenHodgson 479ddd4
Bump the npm_and_yarn group across 1 directory with 2 updates (#71)
dependabot[bot] 3bd4dab
move utp.ts back into root src/
StephenHodgson b7021b0
bump deps
StephenHodgson c470a2d
fix import
StephenHodgson ff04dcd
bump for new build
StephenHodgson 63b45e6
UTP log merge dedupe, Windows path checks, Android/artifact CI, and U…
StephenHodgson 0706882
bump deps
StephenHodgson c082ce9
fix escape
StephenHodgson 12f420d
more tests
StephenHodgson 583b228
update build matrix
StephenHodgson 9b537b3
add a artifact scan step to validate the utp message parsing outputs
StephenHodgson 70279c6
split out logger provider
StephenHodgson d3e8c45
reformat the summaries
StephenHodgson 0f641ea
I want my tables back
StephenHodgson 0ef8efc
expand logging in summary
StephenHodgson 8471cde
normalize annotations
StephenHodgson 43b4f08
fix hidden CI/CD failures
StephenHodgson c9bad08
Merge branch 'main' into dev/utp-logging
StephenHodgson 2204cd3
package-lock.json
StephenHodgson 7279bc7
add additional tests
StephenHodgson b35017d
isolate negative UTP scenarios from matrix builds
StephenHodgson 71bb2f5
fix CI profile and artifact scan guardrails
StephenHodgson aca1288
stabilize normal UTP profile for matrix jobs
StephenHodgson 72b0b3a
prevent CI hangs during editor uninstall cleanup
StephenHodgson 230822c
make UTP guardrail compatible without ripgrep
StephenHodgson b2af206
harden Unity project creation against transient CI flakes
StephenHodgson 150c860
bump actions
StephenHodgson b8922c8
fix job permissions
StephenHodgson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| using UnityEditor; | ||
| using UnityEditor.Build; | ||
| using UnityEditor.Build.Reporting; | ||
|
|
||
| namespace UnityCli.UtpSamples | ||
| { | ||
| /// <summary> | ||
| /// Forces the build pipeline to fail by throwing a BuildFailedException. | ||
| /// Place under an Editor folder when copying into a project. | ||
| /// </summary> | ||
| public class BuildErrors : IPreprocessBuildWithReport | ||
| { | ||
| public int callbackOrder => 0; | ||
|
|
||
| public void OnPreprocessBuild(BuildReport report) | ||
| { | ||
| throw new System.Exception("Intentional build failure for test matrix coverage."); | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| using UnityEditor; | ||
| using UnityEditor.Build; | ||
| using UnityEditor.Build.Reporting; | ||
|
|
||
| namespace UnityCli.UtpSamples | ||
| { | ||
| /// <summary> | ||
| /// Emits a build-time warning via the build pipeline (no custom UTP JSON logging). | ||
| /// Place under an Editor folder when copying into a project. | ||
| /// </summary> | ||
| public class BuildWarnings : IPreprocessBuildWithReport | ||
| { | ||
| public int callbackOrder => 0; | ||
|
|
||
| public void OnPreprocessBuild(BuildReport report) | ||
| { | ||
| UnityEngine.Debug.LogWarning("Intentional build warning for test matrix coverage."); | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| // Intentional compiler error for matrix scenario coverage. | ||
| #error Intentional compiler error: CS1029 | ||
|
|
||
| // Note: file is kept minimal so it can be copied into a project to force a build failure. | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| using UnityEngine; | ||
|
|
||
| namespace UnityCli.UtpSamples | ||
| { | ||
| /// <summary> | ||
| /// Introduces a benign compiler warning (unused variable) without emitting custom logs. | ||
|
StephenHodgson marked this conversation as resolved.
|
||
| /// </summary> | ||
| public class CompilerWarnings : MonoBehaviour | ||
| { | ||
| private void Awake() | ||
| { | ||
| ObsoleteApi(); // CS0618: call to obsolete member | ||
|
StephenHodgson marked this conversation as resolved.
|
||
| } | ||
|
|
||
| [System.Obsolete("Intentional warning for test matrix coverage", false)] | ||
| private static void ObsoleteApi() | ||
| { | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| using NUnit.Framework; | ||
|
|
||
| namespace UnityCli.UtpSamples | ||
| { | ||
| /// <summary> | ||
| /// Editmode test that intentionally fails to produce real test failure output. | ||
| /// </summary> | ||
| public class EditmodeTestsErrors | ||
| { | ||
| [Test] | ||
| public void FailsEditmodeSuite() | ||
| { | ||
| Assert.Fail("Intentional editmode failure for test matrix coverage."); | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| using System.Collections; | ||
| using NUnit.Framework; | ||
| using UnityEngine.TestTools; | ||
|
|
||
| namespace UnityCli.UtpSamples | ||
| { | ||
| /// <summary> | ||
| /// Playmode test that intentionally fails to generate real test failure output. | ||
| /// </summary> | ||
| public class PlaymodeTestsErrors | ||
| { | ||
| [UnityTest] | ||
| public IEnumerator FailsPlaymodeSuite() | ||
| { | ||
| yield return null; | ||
| Assert.Fail("Intentional playmode failure for test matrix coverage."); | ||
| } | ||
| } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.