feat: run the CI suite as parallel processes

validate.yml and pr_checks.py run scripts/run_tests.py with four jobs,
the runner's cores: 24 minutes here for the suite that took about 40 in
one process. A failed module's tracebacks are printed in the summary, as
a runner keeps no log file. The two scripts added today follow the rules
the suite holds every script to (no abbreviated option, run_cli, every
option documented), and the two isolation tests drop the per-module
scratch variable to check the folder a module gets alone.
This commit is contained in:
Abdessamad Derraz committed 2026-11-12 15:36:46 +01:00
1 parent fb33ee58e1
commit abbfebff3e
11 files changed
+63 -27

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ STEPS: tuple[Step, ...] = (
# filled it and every later command failed with ENOSPC.
Step("npm run build --prefix website", "the built site",
needs="npm", provider="Node 24", env={"NODE_DISABLE_COMPILE_CACHE": "1"}),
Step("python -m unittest discover -s tests -t .", "the suite",
Step("python scripts/run_tests.py --jobs 4", "the suite, one process per module",
env={"RETROBIOS_OFFLINE": "1"}),
Step("python3.8 -m unittest tests.test_install_tui", "the full screen on the installer's floor",
needs="python3.8", provider="a Python 3.8 with pyte",