Files
Server-scripts/audiobook_library
Lucas Vivo 8fafb937aa
Audiobook Library CI / build (push) Successful in 47s
Audiobook Library CI / test (push) Successful in 1m11s
Audiobook Library CI / lint (push) Successful in 9s
Audiobook Library CI / install (quiethost) (push) Successful in 1s
Audiobook Library CI / install (serverhost) (push) Successful in 4s
Audiobook Library CI / install (mediahost) (push) Successful in 6s
Audiobook Library CI / install (vivohost) (push) Successful in 9s
test(audiobook_library): test series and number recognition
2026-11-22 19:51:29 +01:00
..
2026-11-21 15:20:52 +01:00

CI

The Gitea workflow runs the test suite with committed audiobook media and a generated database fixture, and lints with Ruff. On pushes to main, it builds a standalone executable and installs it to ~/tools/audiobook_library on the same runners used by ffmpeg_handling. FFmpeg and ffprobe must be available on the target host.

To run the suite locally, use python run_tests.py. It uses the committed MP3 files in testassets/audiobook_library at the scripts repository root by default; set AUDIOBOOK_TEST_ASSETS to use another media fixture directory. AUDIOBOOK_TEST_DATABASE can point to a database fixture file. CI generates only the database fixture with python test/create_ci_fixtures.py <directory>. Do not commit private database fixtures.