INNER CODE UNIT · Python

main

zhinkgit/embeddedskills · .github/maintenance/run_tests.py:22

def main() -> int:
    root = Path(__file__).resolve().parents[2]
    test_directories = find_test_directories(root)
    if not test_directories:
        print("No test directories found.")
        return 0

    failed = False
    for test_directory in test_directories:
        print(f"==> {test_directory.relative_to(root)}", flush=True)
        process = subprocess.run([
            sys.executable,
            "-m",
            "unittest",
            "discover",
            "-s",
            str(test_directory),
            "-p",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…