From eba70589ecb60218dac678bae59d435c3ac7a10c Mon Sep 17 00:00:00 2001 From: "Sebastian M. Ernst" Date: Fri, 23 Feb 2024 14:19:35 +0100 Subject: [PATCH] tox prevents numba cache, i.e. parallel compile causes segfaults -> run tests single-threaded on CI and new envs --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index a62b0fc6a..61d32887b 100644 --- a/tox.ini +++ b/tox.ini @@ -25,10 +25,10 @@ setenv = PIP_PREFER_BINARY = 1 NPY_DISABLE_CPU_FEATURES = AVX512_SKX coverage: NUMBA_DISABLE_JIT = 1 - fast: PYTEST_MARKERS = -m "not slow and not mpl_image_compare" -n auto - online: PYTEST_MARKERS = -m "remote_data" -n auto - slow: PYTEST_MARKERS = -m "slow" -n auto - images: PYTEST_MARKERS = -m "mpl_image_compare" -n auto + fast: PYTEST_MARKERS = -m "not slow and not mpl_image_compare" -n 1 + online: PYTEST_MARKERS = -m "remote_data" -n 1 + slow: PYTEST_MARKERS = -m "slow" -n 1 + images: PYTEST_MARKERS = -m "mpl_image_compare" -n 1 PYTEST_EXTRA_ARGS = --mypy online: PYTEST_EXTRA_ARGS = --remote-data=any slow: PYTEST_EXTRA_ARGS =