Smoke tests for unity-cli and CI: compiler/build behavior and Editmode/Playmode test reporting.
The compiler and build projects (compiler-warnings, compiler-errors, build-warnings, build-errors) each include a copy of the same editor script at Assets/Editor/EnsureBuildScene.cs. On Editor load it ensures an empty scene (Assets/Scenes/Main.unity) exists and is in build settings, so Unity versions that require a scene at build time are satisfied without committing a version-specific scene file.
- compiler-warnings: Deliberate CS0618 warning; build succeeds; warning in compiler output.
- compiler-errors:
#errordirective; build fails.
- build-warnings: IPreprocessBuildWithReport logs a warning; build succeeds; warning in log.
- build-errors: Editor script throws at build time; build fails.
- tests-suite: All six tests (pass, fail, skip). Run editmode and playmode with separate commands; full run fails (one failure per mode). Tests are tagged with NUnit categories Passing, Failing, and Skipped so you can run by category (e.g. filter by
Passingfor a green run, orFailingfor a red run).