ci: add Windows and Python 3.14 support

This commit is contained in:
Jiajun Xie
2026-04-17 16:11:37 +08:00
committed by Xubin Ren
parent ce5272c153
commit 3db2eb66e4
7 changed files with 92 additions and 24 deletions
+6 -2
View File
@@ -180,9 +180,13 @@ async def test_grep_files_with_matches_supports_head_limit_and_offset(tmp_path:
offset=1,
)
lines = result.splitlines()
assert lines[0] == "src/b.py"
# Filesystem order is not deterministic across platforms, so just verify:
# 1. Only one file path is returned (head_limit=1 after offset=1)
# 2. The pagination info is correct
assert "pagination: limit=1, offset=1" in result
# Count non-empty lines that start with src/ (file paths)
file_lines = [l for l in result.splitlines() if l.startswith("src/")]
assert len(file_lines) == 1
@pytest.mark.asyncio