From 31d3aa260ed19c96b40529618e56f66ea245ce4e Mon Sep 17 00:00:00 2001 From: Eivind Jahren Date: Fri, 23 Aug 2024 12:39:16 +0200 Subject: [PATCH] Do not run gui tests in parallel --- ci/testkomodo.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/testkomodo.sh b/ci/testkomodo.sh index a8035a5fba2..66c843ab3ad 100755 --- a/ci/testkomodo.sh +++ b/ci/testkomodo.sh @@ -40,8 +40,10 @@ start_tests () { pushd ${CI_TEST_ROOT}/tests - python -m pytest -n auto --mpl --benchmark-disable --eclipse-simulator \ - --durations=0 -sv --dist loadgroup -m "not limit_memory" --max-worker-restart 0 + pytest tests --eclipse-simulator -n logical --show-capture=stderr -v --max-worker-restart 0 \ + -m "not limit_memory and not requires_window_manager" --benchmark-disable --dist loadgroup + pytest tests --eclipse-simulator -v --mpl \ + -m "not limit_memory and requires_window_manager" --benchmark-disable # Restricting the number of threads utilized by numpy to control memory consumption, as some tests evaluate memory usage and additional threads increase it. export OMP_NUM_THREADS=1