feat: add tests, CI and P0 reliability features
This commit is contained in:
1 parent
0754065dae
commit
626650e44a
22 files changed
+1576
-49
No files matched your search
@@ -43,7 +43,10 @@ SteamBase/
|
||||
│ ├── cache_covers.py # кэш обложек
|
||||
│ ├── reco.py # рекомендации + похожие
|
||||
│ ├── recommend.py # CLI рекомендаций
|
||||
│ └── personal.py # статусы/оценки/заметки/атрибуты
|
||||
│ ├── personal.py # статусы/оценки/заметки/атрибуты
|
||||
│ └── check_links.py # проверка ссылок в Markdown
|
||||
├── tests/ # unittest (steam_source, import, reco, API, db)
|
||||
├── .gitea/workflows/ci.yml # CI: компиляция, тесты, ссылки
|
||||
├── web/
|
||||
│ ├── server.py # HTTP API + фоновые задачи
|
||||
│ └── static/ # index.html, styles.css, app.js
|
||||
@@ -75,6 +78,10 @@ python tools/cache_covers.py --all
|
||||
python tools/recommend.py --list-presets
|
||||
python tools/recommend.py --preset dark-fantasy --limit 10
|
||||
python tools/personal.py set "Kenshi" --status nostalgia --note "..."
|
||||
|
||||
# тесты и проверки
|
||||
python -m unittest discover -v
|
||||
python tools/check_links.py
|
||||
```
|
||||
|
||||
## Проверка перед завершением задачи
|
||||
@@ -83,6 +90,8 @@ python tools/personal.py set "Kenshi" --status nostalgia --note "..."
|
||||
|
||||
```powershell
|
||||
python -m py_compile tools/*.py web/server.py
|
||||
python -m unittest discover -v
|
||||
python tools/check_links.py
|
||||
python tools/recommend.py --list-presets
|
||||
Invoke-RestMethod http://127.0.0.1:8765/api/meta
|
||||
Invoke-RestMethod "http://127.0.0.1:8765/api/games?per_page=3"
|
||||
|
||||
Reference in new issue
Block a user