feat: robust SSH with fallback menu + comprehensive tests

- Add fallback Rich-based menu when Textual fails
- Working chess game via simple terminal UI
- Proper PTY/terminal handling for SSH
- Added pytest test suite:
  - SSH auth tests (no-auth, accept any)
  - Mode selection tests (play/learn/watch)
  - Chess board widget tests
  - Move validation tests
  - Game state detection tests
- CI workflow for GitHub Actions
- Run tests with: pytest tests/ -v
This commit is contained in:
Greg Hendrickson
2026-01-27 18:08:57 +00:00
parent 0e9597020a
commit db1ce55c2c
6 changed files with 566 additions and 63 deletions

View File

@@ -44,3 +44,10 @@ select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.12"
strict = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning",
]