From: Jacob Lifshay Date: Tue, 19 Dec 2023 01:46:13 +0000 (-0800) Subject: .gitlab-ci.yml: re-add maxschedchunk, it provides massive speedups -- ~2x on CI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be18b88c043589b66f8cb6bdd18e9ee274768e76;p=openpower-isa.git .gitlab-ci.yml: re-add maxschedchunk, it provides massive speedups -- ~2x on CI this essentially reverts bfb9d7f312ebb5f394414b5e1ea8f03728af4489 on CI, bfb9d7f312ebb5f394414b5e1ea8f03728af4489 took 5h45m: https://salsa.debian.org/Kazan-team/mirrors/openpower-isa/-/jobs/5038101 the parent commit took 2h37m: https://salsa.debian.org/Kazan-team/mirrors/openpower-isa/-/jobs/5034703 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f19fc478..1cfbf1fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,4 +126,10 @@ build: - python3 -m openpower.syscalls json linux > src/openpower/syscalls/syscalls.json - - SILENCELOG=1 SIM_NO_VCD=1 pytest -v --maxfail=10 + # maxschedchunk substantially speeds up testing -- by ~2x on CI + # it is supported by the version of pytest-xdist used by both this file + # and the dev-env-setup scripts (which should be the same versions). + # + # maxfail=10 because otherwise the output log is too long and gitlab + # truncates it, removing the testing summary. + - SILENCELOG=1 SIM_NO_VCD=1 pytest -v --maxfail=10 --maxschedchunk=1