bump version to 0.2.7
Release / Pre-release Check (push) Failing after 35s
Release / Build Artifacts (push) Has been skipped
Release / Publish to PyPI (push) Has been skipped
Release / Publish Release (push) Has been skipped

This commit is contained in:
2026-06-27 15:23:48 +08:00
parent 1e23c48efc
commit 2b3f4b82d3
10 changed files with 7736 additions and 298 deletions
+1
View File
@@ -238,6 +238,7 @@ class TestPdfInfo:
class TestPdfOcr:
"""Test pdf_ocr function."""
@pytest.mark.slow
def test_pdf_ocr_file(self, tmp_path: Path) -> None:
"""Should OCR PDF."""
pytest.importorskip("fitz")
+1
View File
@@ -529,6 +529,7 @@ class TestDependencyDrivenScheduling:
class TestConcurrencyLimits:
"""测试并发限制:相同 concurrency_key 的任务串行执行。"""
@pytest.mark.slow
def test_concurrency_key_serializes_tasks(self) -> None:
"""相同 key 的任务不应并发执行。"""
running: list[int] = []
+1
View File
@@ -264,6 +264,7 @@ def test_skip_if_missing_with_fn_not_checked():
assert spec.should_execute({})[0] is True
@pytest.mark.slow
def test_skip_if_missing_with_empty_cmd_list():
"""skip_if_missing=True 时,空命令列表应返回 True(不检查)."""
spec = TaskSpec("test", cmd=[""], skip_if_missing=True)