fix(ci): install libegl1 on Ubuntu and normalize line endings in epub test

- Add system dependency step for libegl1 to fix PyQt6 import on headless CI
- Normalize CRLF to LF in epub exporter whitespace test for Windows CI
This commit is contained in:
Artem Akymenko
2026-07-08 17:16:33 +00:00
parent 79332204d3
commit a3c3462348
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ def test_epub3_preserves_original_whitespace(tmp_path) -> None:
)
assert match is not None
original_text = html.unescape(match.group(1))
assert "Second line\n\nThird paragraph." in original_text
assert "Second line\n\nThird paragraph." in original_text.replace("\r\n", "\n")
def test_epub3_sentence_chunks_render_as_paragraphs(tmp_path) -> None: