Files
vectorcraft/packaging/nightly-tests.py
T
Dylan M. Taylor 8b0b808857 packaging(linux): support co-installable nightly packages (#9233)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-25 06:01:37 -06:00

27 lines
1.0 KiB
Python

#!/usr/bin/env python3
"""Run the existing synthetic packaging suites together; no app build or signing."""
import importlib.util
from pathlib import Path
import unittest
def main() -> int:
here = Path(__file__).resolve().parent
suite = unittest.TestSuite()
for name, relative in (
("vector_archive_suite", "nightly-archive-tests.py"),
("vector_launcher_suite", "linux/nightly-launch-tests.py"),
("vector_plist_suite", "macos/nightly_plist_tests.py"),
("vector_release_dispatch_suite", "nightly-release-tests.py"),
("vector_mac_sign_suite", "macos/nightly_sign_tests.py"),
):
spec = importlib.util.spec_from_file_location(name, here / relative)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(module))
return 0 if unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful() else 1
if __name__ == "__main__":
raise SystemExit(main())