Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
4bf9f954
Unverified
Commit
4bf9f954
authored
Sep 09, 2021
by
James Lamb
Committed by
GitHub
Sep 09, 2021
Browse files
[ci] skip Dask tests on QEMU builds (#4600)
parent
64f15005
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tests/python_package_test/test_dask.py
tests/python_package_test/test_dask.py
+3
-0
No files found.
tests/python_package_test/test_dask.py
View file @
4bf9f954
...
@@ -7,6 +7,7 @@ import random
...
@@ -7,6 +7,7 @@ import random
import
socket
import
socket
from
itertools
import
groupby
from
itertools
import
groupby
from
os
import
getenv
from
os
import
getenv
from
platform
import
machine
from
sys
import
platform
from
sys
import
platform
import
pytest
import
pytest
...
@@ -15,6 +16,8 @@ import lightgbm as lgb
...
@@ -15,6 +16,8 @@ import lightgbm as lgb
if
not
platform
.
startswith
(
'linux'
):
if
not
platform
.
startswith
(
'linux'
):
pytest
.
skip
(
'lightgbm.dask is currently supported in Linux environments'
,
allow_module_level
=
True
)
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
:
if
not
lgb
.
compat
.
DASK_INSTALLED
:
pytest
.
skip
(
'Dask is not installed'
,
allow_module_level
=
True
)
pytest
.
skip
(
'Dask is not installed'
,
allow_module_level
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment