Setup tests

- Install Gut using gd-plug.
- Add some basic tests.
- Update workflow to run tests.
- Add test and gd-plug install/uninstall recipes to Justfile.
- Re-enable debug builds as these are used by editor when testing.
This commit is contained in:
Leroy Hopson 2024-02-18 11:50:38 +13:00
parent e234b14867
commit db3564f0cc
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
128 changed files with 1412 additions and 16452 deletions

View file

@ -7,3 +7,12 @@ godot := `echo "${GODOT:-godot}"`
build:
cd addons/godot_xterm/native && scons
install:
{{godot}} --headless -s plug.gd install
test:
{{godot}} --headless -s addons/gut/gut_cmdln.gd -gdir=res://test -gexit
uninstall:
{{godot}} --headless -s plug.gd uninstall