File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.DEFAULT_GOAL := help
2- .PHONY : help install lint format typecheck quality
2+ .PHONY : help install lint format typecheck quality test all
33
44# Colors (ANSI)
55YELLOW := \033[33m
@@ -21,6 +21,8 @@ help: ## Show this help message
2121 @printf " $( GREEN) %-18s$( RESET) %s\n" " format" " Run formatters (ruff, mdformat, stylua)"
2222 @printf " $( GREEN) %-18s$( RESET) %s\n" " typecheck" " Run type checkers (Python and Lua)"
2323 @printf " $( GREEN) %-18s$( RESET) %s\n" " quality" " Run all code quality checks"
24+ @printf " $( GREEN) %-18s$( RESET) %s\n" " test" " Run Python test suite"
25+ @printf " $( GREEN) %-18s$( RESET) %s\n" " all" " Run all code quality checks and tests"
2426
2527install : # # Install balatrobot and all dependencies (including dev)
2628 @$(PRINT ) " $( YELLOW) Installing all dependencies...$( RESET) "
@@ -44,3 +46,10 @@ typecheck: ## Run type checkers (Python and Lua)
4446
4547quality : lint typecheck format # # Run all code quality checks
4648 @$(PRINT ) " $( GREEN) ✓ All checks completed$( RESET) "
49+
50+ test : # # Run Python test suite
51+ @$(PRINT ) " $( YELLOW) Running balatrobench tests...$( RESET) "
52+ @pytest
53+
54+ all : lint format typecheck test # # Run all code quality checks and tests
55+ @$(PRINT ) " $( GREEN) ✓ All checks completed$( RESET) "
You can’t perform that action at this time.
0 commit comments