I’m trying to run unit tests on build targets when I push to my github repo to make sure my library works properly in actual builds, not just in editor. I’m using CircleCI to run EditMode tests utilizing Gableroux’s docker images. However, the same workflow fails when I try to run build target tests (WebGL or StandaloneLinux64) thanks to some Unity bug on Linux:
[0808/234504:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[0808/234504:ERROR:sandbox_linux.cc(308)] InitializeSandbox() called with multiple threads in process gpu-process
CircleCI also has a Windows Server 2019 that is available to run .Net 5.0 tests, but I couldn’t figure out how to get Unity installed on it.
Is there a way to get build target tests to run through CI? I’m willing to look at other CI services also if it helps.