We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d24067 commit c0cd280Copy full SHA for c0cd280
2 files changed
dedalus/tests/__init__.py
@@ -11,7 +11,9 @@
11
12
def base_cmd():
13
workers = os.getenv("PYTEST_WORKERS", "auto")
14
- return [f"--ignore={testpath}/test_spherical_ncc.py", f"--ignore={testpath}/test_cylinder_ncc.py", f"--workers={workers}"]
+ ignore_options = [f"--ignore={testpath}/test_spherical_ncc.py", f"--ignore={testpath}/test_cylinder_ncc.py"]
15
+ xdist_options = [f"-n={workers}", "--dist=worksteal"]
16
+ return ignore_options + xdist_options
17
18
def test(report=False):
19
"""Run tests."""
setup.py
@@ -191,7 +191,7 @@ def read(rel_path):
191
"pytest",
192
"pytest-benchmark",
193
"pytest-cov",
194
- "pytest-parallel",
+ "pytest-xdist",
195
"scipy >= 1.4.0",
196
"xarray"]
197
0 commit comments