(file: pathlib.Path)
| 206 | ) |
| 207 | |
| 208 | def process(file: pathlib.Path) -> None: |
| 209 | snippet = td_snippet(file) |
| 210 | if not snippet: |
| 211 | return |
| 212 | print(f"--- {posixpath.relpath(file, LOCATION)}") |
| 213 | junit_report = ci_util.junit_report_filename(str(file).replace("/", "_")) |
| 214 | c.testdrive( |
| 215 | snippet, |
| 216 | silent=True, |
| 217 | args=[f"--junit-report={junit_report}"], |
| 218 | caller=f"{file}:1", |
| 219 | ) |
| 220 | # Uploading successful junit files wastes time and contains no useful information |
| 221 | os.remove(MZ_ROOT / "test" / "doc-examples" / junit_report) |
| 222 | |
| 223 | files_unsharded: list[pathlib.Path] = [] |
| 224 | for file in args.files: |
nothing calls this directly
no test coverage detected