- Move test files. - Run spark and dask separately to prevent conflicts. - Gather common code into the testing module.
11 lines
252 B
Python
11 lines
252 B
Python
from typing import Sequence
|
|
|
|
import pytest
|
|
|
|
|
|
def pytest_collection_modifyitems(config: pytest.Config, items: Sequence) -> None:
|
|
# mark dask tests as `mgpu`.
|
|
mgpu_mark = pytest.mark.mgpu
|
|
for item in items:
|
|
item.add_marker(mgpu_mark)
|