Skip to content

Commit

Permalink
[ci] skip Dask tests on QEMU builds (#4600)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Sep 9, 2021
1 parent 64f1500 commit 4bf9f95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/python_package_test/test_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import socket
from itertools import groupby
from os import getenv
from platform import machine
from sys import platform

import pytest
Expand All @@ -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)

Expand Down

0 comments on commit 4bf9f95

Please sign in to comment.