unity-test-runner
unity-test-runner copied to clipboard
BUG: Test-runner actions fails with a "chmod: cannot access '/github/workspace/CodeCoverage': No such file or directory" error
Bug description
Test-runner actions fails with a "chmod: cannot access '/github/workspace/CodeCoverage': No such file or directory" error.
*Note, there were no actual tests in the project but this should not prevent the action from completing successfully.
How to reproduce
Visit public repo and examine setup, replicate for test: https://github.com/SimonDarksideJ/TheMostAwesomeGameEverMade/actions/runs/4566129759
- Expected behavior
The action should complete successfully?
Additional details
Output from end of log
Run succeeded, no failures occurred
###########################
# COMBINE_RESULTS Results #
###########################
chmod: cannot access '/github/workspace/CodeCoverage': No such file or directory
Changing to "/github/workspace/_activate-license" directory.
/github/workspace/_activate-license /github/workspace
/github/workspace
###########################
# Failure #
###########################
Please note that the exit code is not very descriptive.
Most likely it will not help you solve the issue.
To find the reason for failure: please search for errors in the log above.
Error: The process '/usr/bin/docker' failed with exit code 139
Ping pong. Is there any update on this issue? I am facing with the same error as well.
Recommended workaround: add tests to your project.
We're happy to take PRs that fix the chmod task, so that it only runs if the folder exists.
Next to adding tests, also make sure the Code Coverage package is added to your unity project! That missing was what was causing the error for me.