Files
conjurer/conjurer_musician
Michal Tuszowski a6c20a0054 ci: replace broken default workflows with compile/unit/integration CI
The two scaffold workflows (Python application / Python package) failed on
every PR: they installed deps from a non-existent requirements.txt, ran
flake8/pytest over the vendored yt_dlp fork (new syntax under the 3.8/3.9
matrix), and collected ad-hoc root scripts — notably test_ai.py, which is
an invalid pasted object dump (not Python).

- Remove python-app.yml / python-package.yml and the junk root scripts
  (test.py, test_ai.py, test_time.py)
- Add .github/workflows/ci.yml with three PR-check jobs:
  * compile     — py_compile every first-party .py (no deps)
  * unit        — pytest on pure logic (conanjurer_functions, constants)
  * integration — boot the Flask services and assert the X-Conjurer-Api-Key
                  auth contract (communication_subroutine + conjurer_musician)
- Add tests/ suite, pytest.ini (testpaths=tests) and conftest.py (sys.path)

Fixes surfaced by the compile gate / needed for the integration job:
- conjurer_librarian/search_bot.py + search_bot2.py: f-string reused the
  same quote ({item["exists"]}) -> SyntaxError on Python < 3.12
- conjurer_musician/media_search_functions.py: made import-safe
  (env-overridable paths, lazy DB load / mkdir) so the service can be
  imported and tested off the Pi

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 12:24:30 +02:00
..
2024-04-17 20:40:43 +02:00
2025-01-08 12:01:01 +01:00
2024-07-07 19:46:45 +02:00
2024-04-17 20:40:43 +02:00
2025-05-02 19:01:51 +02:00
2025-05-04 21:15:28 +02:00
2024-04-17 20:40:43 +02:00
2025-04-17 22:59:47 +02:00
M
2025-05-02 20:09:11 +02:00
2025-04-26 13:18:02 +02:00
2025-04-26 13:18:02 +02:00
2025-04-26 13:18:02 +02:00
FX
2025-08-23 17:44:08 +02:00
2025-04-26 13:18:02 +02:00
2024-04-24 20:31:35 +02:00
2024-11-06 19:35:52 +01:00