Skip to content

Commit fb2c16e

Browse files
authored
Merge branch 'main' into optimize_colorize
2 parents fb29fa1 + f44670c commit fb2c16e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

datashader/tests/benchmarks/test_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def edges():
2929
@pytest.mark.parametrize('layout', [random_layout, circular_layout, forceatlas2_layout])
3030
@pytest.mark.benchmark(group="layout")
3131
def test_layout(benchmark, nodes, edges, layout):
32-
benchmark(layout, nodes, edges)
32+
benchmark(layout, nodes, edges, seed=1)

pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pytest-xdist = "*"
9696
[feature.test-unit-task.tasks] # So it is not showing up in the test-gpu environment
9797
test-unit = 'pytest datashader -n logical --dist loadgroup'
9898
test-unit-nojit = { cmd = 'pytest datashader -k "not test_tiles" -n logical --dist loadgroup', env = { NUMBA_DISABLE_JIT = '1' } }
99-
test-benchmark = 'pytest datashader/tests --benchmark --codspeed'
99+
test-benchmark = { cmd = 'pytest datashader/tests --benchmark --codspeed', env = { DASK_SCHEDULER = "single-threaded" } }
100100

101101
[feature.test.dependencies]
102102
bokeh_sampledata = "*"
@@ -138,7 +138,7 @@ rmm = { version = "*", channel = "rapidsai" }
138138

139139
[feature.test-gpu.tasks]
140140
test-gpu = "python -m pytest datashader/tests -n logical --dist loadgroup --gpu"
141-
test-benchmark = 'pytest datashader/tests --benchmark --gpu --codspeed'
141+
test-benchmark = { cmd = 'pytest datashader/tests --gpu --benchmark --codspeed', env = { DASK_SCHEDULER = "single-threaded" } }
142142

143143
# =============================================
144144
# =================== DOCS ====================

0 commit comments

Comments
 (0)