Skip to content

Commit 34e75da

Browse files
authored
Merge pull request #6852 from loopx-project/codex/windows-ts-shard-paths-20261019
fix(ci): emit portable TypeScript test shard paths
2 parents f2a7fd2 + 521549c commit 34e75da

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/python-tests.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,9 @@ jobs:
838838
python -m pytest -q
839839
tests/canary/test_repository_root.py::test_plan_renders_repository_paths_in_canonical_posix_form
840840
841+
- name: Qualify TypeScript shard paths on native Windows
842+
run: python -m pytest -q tests/test_python_ci_workflow.py::test_typescript_shards_select_every_test_file_exactly_once
843+
841844
- name: Qualify the canary premerge contract smoke on native Windows
842845
run: python examples/canary/premerge-validation-gate-smoke.py
843846

‎scripts/ci/ts_test_shard.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main(argv: list[str] | None = None) -> int:
4747
if not files:
4848
parser.error(f"no TypeScript tests under {TEST_ROOT}")
4949
for name in select(files, args.shards, args.shard):
50-
print(TEST_ROOT / name)
50+
print((TEST_ROOT / name).as_posix())
5151
return 0
5252

5353

0 commit comments

Comments
 (0)