From f57c7efa551686d52875a846c1db4c5bedf42dbf Mon Sep 17 00:00:00 2001 From: James Lamb <jaylamb20@gmail.com> Date: Tue, 7 Sep 2021 22:31:16 -0500 Subject: [PATCH] [ci] skip Dask tests on QEMU builds --- tests/python_package_test/test_dask.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/python_package_test/test_dask.py b/tests/python_package_test/test_dask.py index 2f84933cfd37..84047abf1f61 100644 --- a/tests/python_package_test/test_dask.py +++ b/tests/python_package_test/test_dask.py @@ -7,6 +7,7 @@ import socket from itertools import groupby from os import getenv +from platform import machine from sys import platform import pytest @@ -15,6 +16,8 @@ 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)