Commit ac780dd
Add comprehensive test suite and GitHub Actions CI (#2)
* Add comprehensive test suite and GitHub Actions CI
- Add 30+ test cases covering execution, errors, globals, functions,
booleans, macros, multi-return, multiple instances, and error messages
- Add macro expansion tests with diagnostic validation
- Add GitHub Actions workflow (macOS 14, Xcode 15.4)
- CI runs on push to main and all PRs
- Clean up stale test files
* Fix demo: add missing try for throwing execute()
* Fix linker error: add LuaKitMacros dependency to LuaKitTests target
The macro test file imports LuaKitMacros directly to reference
LuaFunctionMacro.self, but the test target was missing the dependency,
causing undefined symbol errors at link time.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: William Laverty <william@laverty.dev>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 943084d commit ac780dd
7 files changed
Lines changed: 558 additions & 50 deletions
File tree
- .github/workflows
- Sources/LuaKitDemo
- Tests
- LuaDemoTests
- LuaKitTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
This file was deleted.
0 commit comments