Files
Server-scripts/audiobook_library/README.md
T

15 lines
764 B
Markdown
Raw Normal View History

2026-11-21 14:57:30 +01:00
## CI
2026-11-21 15:20:52 +01:00
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
2026-11-21 14:57:30 +01:00
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.
2026-11-21 15:20:52 +01:00
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.