Skip to content

Commit

Permalink
mark mgpu test.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Mar 16, 2021
1 parent 9b24ba8 commit 808c33a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/python-gpu/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ def pytest_collection_modifyitems(config, items):
for item in items:
if any(item.nodeid.startswith(x) for x in blocklist):
item.add_marker(skip_mark)

mgpu_mark = pytest.mark.mgpu
for item in items:
if item.nodeid.startswith("python-gpu/test_gpu_with_dask.py"):
print("mark:", item, item.nodeid)
item.add_marker(mgpu_mark)

0 comments on commit 808c33a

Please sign in to comment.