mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 10:07:48 -06:00
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:
1 parent
fb33ee58e1
commit
abbfebff3e
11 files changed
+63
-27
No files matched your search
@@ -332,9 +332,12 @@ jobs:
|
||||
# No test downloads a release asset: 252 MB files fetched into the
|
||||
# shared cache filled the runner's disk and changed what later tests
|
||||
# resolved. The download tests mock the network and clear it.
|
||||
# One process per module, four at a time on the runner's four cores,
|
||||
# each with its own scratch folder: a module that leaves a variable
|
||||
# set no longer changes the ones after it.
|
||||
env:
|
||||
RETROBIOS_OFFLINE: "1"
|
||||
run: python -m unittest discover -s tests -t . -v
|
||||
run: python scripts/run_tests.py --jobs 4
|
||||
|
||||
- name: Run the full-screen interface tests on Python 3.8
|
||||
if: ${{ !cancelled() }}
|
||||
|
||||
Reference in new issue
Block a user