@@ -142,7 +142,12 @@ jobs:
142
142
environment-file : environment-dev.yml
143
143
- name : Install HDF5
144
144
run : sudo apt update && sudo apt install -y libhdf5-dev
145
- - run : python -m pytest modin/experimental/xgboost/test/test_default.py --execution=${{ matrix.execution }}
145
+ - name : xgboost tests
146
+ run : |
147
+ # TODO(https://github.com/modin-project/modin/issues/5194): Uncap xgboost
148
+ # when we use collective instead of rabit.
149
+ mamba install "xgboost>=1.7.1,<2.0.0" scikit-learn -c conda-forge
150
+ python -m pytest modin/experimental/xgboost/test/test_default.py --execution=${{ matrix.execution }}
146
151
- run : python -m pytest -n 2 modin/test/storage_formats/base/test_internals.py --execution=${{ matrix.execution }}
147
152
- uses : ./.github/actions/run-core-tests
148
153
with :
@@ -453,12 +458,16 @@ jobs:
453
458
if : matrix.engine == 'python' || matrix.test_task == 'group_1'
454
459
- run : python -m pytest modin/test/test_partition_api.py
455
460
if : matrix.engine != 'python' && matrix.test_task == 'group_1'
456
- - run : python -m pytest -n 2 modin/experimental/xgboost/test/test_default.py
457
- if : matrix.engine == 'python' || matrix.test_task == 'group_1'
458
- - run : python -m pytest -n 2 modin/experimental/xgboost/test/test_xgboost.py
459
- if : matrix.os == 'ubuntu' && matrix.engine == 'ray' && matrix.test_task == 'group_1'
460
- - run : python -m pytest -n 2 modin/experimental/xgboost/test/test_dmatrix.py
461
- if : matrix.engine == 'ray' && matrix.test_task == 'group_1'
461
+ - name : xgboost tests
462
+ run : |
463
+ # TODO(https://github.com/modin-project/modin/issues/5194): Uncap xgboost
464
+ # when we use collective instead of rabit.
465
+ mamba install "xgboost>=1.7.1,<2.0.0" scikit-learn -c conda-forge
466
+ python -m pytest -n 2 \
467
+ modin/experimental/xgboost/test/test_default.py \
468
+ modin/experimental/xgboost/test/test_xgboost.py \
469
+ modin/experimental/xgboost/test/test_dmatrix.py
470
+ if : matrix.os != 'windows' && matrix.test_task == 'group_1'
462
471
- run : python -m pytest -n 2 modin/experimental/batch/test/test_pipeline.py
463
472
if : matrix.engine == 'python' || matrix.test_task == 'group_1'
464
473
- uses : ./.github/actions/run-core-tests/group_1
@@ -568,11 +577,14 @@ jobs:
568
577
- run : ${{ matrix.execution.shell-ex }} $PARALLEL modin/test/test_partition_api.py
569
578
- name : xgboost tests
570
579
run : |
580
+ # TODO(https://github.com/modin-project/modin/issues/5194): Uncap xgboost
581
+ # when we use collective instead of rabit.
582
+ mamba install "xgboost>=1.7.1,<2.0.0" scikit-learn -c conda-forge
571
583
${{ matrix.execution.shell-ex }} $PARALLEL \
572
584
modin/experimental/xgboost/test/test_default.py \
573
585
modin/experimental/xgboost/test/test_xgboost.py \
574
586
modin/experimental/xgboost/test/test_dmatrix.py
575
- if : matrix.os != 'windows' && matrix.execution.name == 'ray' && needs.execution-filter.experimental == 'true'
587
+ if : matrix.os != 'windows' && needs.execution-filter.experimental == 'true'
576
588
- run : ${{ matrix.execution.shell-ex }} $PARALLEL modin/experimental/batch/test/test_pipeline.py
577
589
if : matrix.os != 'windows' && matrix.execution.name != 'unidist' && needs.execution-filter.experimental == 'true'
578
590
- name : " test DF: binary, default, iter"
0 commit comments