Unverified Commit 4bf9f954 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] skip Dask tests on QEMU builds (#4600)

parent 64f15005
......@@ -7,6 +7,7 @@ import random
import socket
from itertools import groupby
from os import getenv
from platform import machine
from sys import platform
import pytest
......@@ -15,6 +16,8 @@ import lightgbm as lgb
if not platform.startswith('linux'):
pytest.skip('lightgbm.dask is currently supported in Linux environments', allow_module_level=True)
if machine() != 'x86_64':
pytest.skip('lightgbm.dask tests are currently skipped on some architectures like arm64', allow_module_level=True)
if not lgb.compat.DASK_INSTALLED:
pytest.skip('Dask is not installed', allow_module_level=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment