CI: Python-Tests der Werkzeuge ausführen (#1073)

Neuer Schritt für test_songs_import, test_forced_align und test_transcribe_words (laufen ohne Zusatzpakete);
make check und AGENTS.md angepasst. Die Tests der Song-Analyse bleiben im eigenen Workflow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-02 12:55:18 +01:00
parent b5ad284ccf
commit c3867fa416
3 changed files with 7 additions and 1 deletions

View File

@ -43,6 +43,7 @@ Händen, und `git add -A` nimmt fremde, halbfertige Änderungen mit. Deshalb:
cargo fmt --check && cargo clippy --all-targets --locked -- -D warnings && cargo test --locked
cd tools && song_analysis/.venv/bin/python -m unittest test_song_analysis # nur wenn tools/song_analysis geändert wurde
python3 tools/check-roadmap.py && python3 -m unittest tools/test_check_roadmap.py # Roadmap, Klicktests, Berichte
python3 -m unittest tools/test_songs_import.py tools/test_forced_align.py tools/test_transcribe_words.py # Python-Werkzeuge (laufen auch in der CI)
```
`.githooks/pre-push` prüft das Rust-Teil lokal (einschalten: `git config core.hooksPath .githooks`); die CI
(`.gitea/workflows/ci.yml`) prüft dasselbe bei Pull-Anfragen und Push auf `main`.