-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Test runner does not work on windows-latest, but does on ubuntu-latest #200
Comments
Still happening for now, any older version of the windows runner that is working? |
Looks like it's only working on v2.0.3. |
The issue is the symlinks introduced in #198 these are no resolved on windows machines. I would LOVE if this could be resolved. I need to be able to run on windows machines for code coverage analysis with sonar. |
Very interested in this too. |
Is there any workaround for this? We're very keen to trial GameCI but this is blocking us hard right now |
Hello there. I am trying to fix this problem and found that it is very complex. I have been able to fix some of the issues but it still does not work completely and I need help to resolve it. symlink issue (resolved)As already pointed out, symlink did not work properly on Windows, so I wrote JavaScript in main.js and post.js to call main() and post() in index.js and it worked fine. Unity execution path issue (resolved)Next, I noticed that artifacts were not being uploaded. I looked at the logs and found that the cause was an incorrect Unity.exe path passed to Start-Process in run_tests.ps1. This was fixed by pasting the correct path from activate.ps1. Graphics initialization errorAdditionally, an error
Standalone testing issuesFinally, at the moment I am facing a problem with the standalone test not completing until the workflow times out. I checked the editor logs and found that the error
Currentry results of my work so far are in my forked repository. |
@sokuhatiku That standalone issue is strange. It shouldn't be executing the tests from the editor or waiting at all. The player should be built separately with the Lines 19 to 20 in 7c242f7
|
@timcassell Thanks for letting me know. I checked the code and found that $Env:UNITY_PROJECT_PATH was used in the code that copies the assets for the Standalone build to the project in |
I think this issue can be closed. It seems to be working now. |
DESCRIPTION
I've got an error when I try to run the latest (2.10) release of the test runner:
But it works fine when I run it on ubuntu-latest.
The issue seems to be with the file dist\main.js which seems to be a recent addition to the unity-test-runner repo.
How to reproduce
REPRO STEPS & EXPECTED BEHAVIOUR
Use
windows-latest
as the value of the jobruns-on
parameter.Expected: the action runs as normal.
Actual:
CONTEXT
Just tried to run the test-runner on windows-latest with the latest release of the test-runner (2.1.0).
The text was updated successfully, but these errors were encountered: