16 Commits

Author SHA1 Message Date
teknomunk
1c53a6dfb0 Update luachech check.lst to lastest master
Additional script updates
2025-03-08 13:22:04 +01:00
teknomunk
c02658e3f4 Fix syntax error when module doesn't have a name listed in mod.conf, add runtime_depends and runtime_optional_depends to module dependency sources 2025-03-08 13:22:04 +01:00
teknomunk
f7d9e1c2c0 Move lua environment detection to its own file and source in the test scripts 2025-03-08 13:22:04 +01:00
teknomunk
b0bc6cd2cc Remove misc_helpers and use platform builtins instead, detect luanti/minetest path to access platform builtins 2025-03-08 13:22:04 +01:00
teknomunk
95daa9bde1 Rework unit test runner to allow multiple unit test files per module, update paths of existing unit tests 2025-03-08 13:22:04 +01:00
teknomunk
f2233fc1e5 Update luacheck script and passing files list, add luacheck_globals to mcl_init and mesecons 2025-03-08 13:22:04 +01:00
teknomunk
8f5ea5e41c Have automated tests fail if any file that previously passed luacheck no longer does 2025-03-08 13:22:04 +01:00
teknomunk
9293d6bd01 Update test workflow, add lua-language-server check, split up test.sh 2025-03-08 13:22:04 +01:00
teknomunk
02e4df591e Put luacheck command into '' so that <> can be used 2025-03-08 13:22:04 +01:00
teknomunk
f58553e5c2 Reduce verbosity of luacheck section 2025-03-08 13:22:04 +01:00
teknomunk
c2fb7f2553 Cleanup lua-language-server findings, turn off --no-color, use string:trim() from misc_helpers.lua 2025-03-08 13:22:04 +01:00
teknomunk
c37964a3b1 Fix regex error 2025-03-08 13:22:04 +01:00
teknomunk
02dc6e4d91 Fix call 2025-03-08 13:22:04 +01:00
teknomunk
3d2cbc5d8e Address review comments 2025-03-08 13:22:04 +01:00
teknomunk
28653754a2 Detect lua version 2025-03-08 13:22:04 +01:00
teknomunk
5c79ca6cc4 Implement the start of automated testing 2025-03-08 13:22:04 +01:00