Skip to content
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

Run godot --headless --import for 4.x #14

Open
menaechmi opened this issue Sep 13, 2024 · 0 comments
Open

Run godot --headless --import for 4.x #14

menaechmi opened this issue Sep 13, 2024 · 0 comments

Comments

@menaechmi
Copy link

Godot puts class_names in the .godot folder (which is excluded from github upload). While you could upload the folder, it has the potential to contain sensitive information

Anyways the fix is just to run godot --headless --import once before running any tests, which will generate the folder for CI. Otherwise you'll get an error akin to

SCRIPT ERROR: Parse Error: Identifier "GutUtils" not declared in the current scope.
          at: GDScript::reload (res://addons/gut/gut_cmdln.gd:326)
ERROR: Failed to load script "res://addons/gut/gut_cmdln.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript.cpp:2788)
Error: Process completed with exit code 1.

bitwes/Gut#589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant